Skip to content

feat: added translation rw2 translation for gauges #35703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
c36ef2b
feat: added translation rw2 translation for gauges
jmichalek132 Oct 8, 2024
2a16ec6
[chore] update sapm-proto to 0.16.0 (#35630)
atoulme Oct 8, 2024
30df582
Update module github.com/DataDog/datadog-api-client-go/v2 to v2.31.0 …
renovate[bot] Oct 8, 2024
adf4c59
chore: fix issues from linter
jmichalek132 Oct 8, 2024
19843ff
chore: add test case showing we don't handle duplicates
jmichalek132 Oct 8, 2024
ffd70d3
chore: ran make fmt
jmichalek132 Oct 8, 2024
41d1dc8
Update pkg/translator/prometheusremotewrite/metrics_to_prw_v2.go
jmichalek132 Oct 8, 2024
3157b47
chore: added test case for nan value
jmichalek132 Oct 8, 2024
0d79cee
chore: ran make fmt
jmichalek132 Oct 8, 2024
b15910e
chore: added double_gauge case
jmichalek132 Oct 8, 2024
05b4127
chore: double gauge use float value in test
jmichalek132 Oct 9, 2024
3b0e7b4
chore: implemented test case for FromMetricsV2
jmichalek132 Oct 9, 2024
fe74cd3
chore: fix the test case with NaNs not passing
jmichalek132 Oct 9, 2024
ed23843
chore: ran make fmt
jmichalek132 Oct 9, 2024
23cc568
chore: added changelog entry
jmichalek132 Oct 9, 2024
000999a
chore: fix name of the component
jmichalek132 Oct 9, 2024
eea2cfc
[chore] Update otel, fix tests (#35701)
djaglowski Oct 8, 2024
2420e76
Update module github.com/antchfx/xpath to v1.3.2 (#35662)
renovate[bot] Oct 8, 2024
99606c2
Update module github.com/open-telemetry/opentelemetry-collector-contr…
renovate[bot] Oct 8, 2024
2575085
Update module github.com/antchfx/xmlquery to v1.4.2 (#35661)
renovate[bot] Oct 8, 2024
7caad8d
Update module github.com/Azure/azure-sdk-for-go/sdk/azidentity to v1.…
renovate[bot] Oct 8, 2024
45ec0d7
[chore] fix make otelcontribcol, require genotelcontribcol (#35707)
bogdandrutu Oct 8, 2024
05f482c
Suppress errors on EBADF when unlocking files (#35706)
sfc-gh-kstewart Oct 9, 2024
def91cd
[chore] [receiver/flinkmetrics] Use confighttp.NewDefaultClientConfig…
mackjmr Oct 9, 2024
1fae88b
[chore] [receiver/elasticsearch] Use NewDefaultClientConfig instead o…
rogercoll Oct 9, 2024
7c63407
[chore] [receiver/apache] Use confighttp.NewDefaultClientConfig inste…
mackjmr Oct 9, 2024
740d3ab
Update module github.com/jaegertracing/jaeger to v1.62.0 (#35679)
renovate[bot] Oct 9, 2024
1008a19
Update dockerfile deps (#35674)
renovate[bot] Oct 9, 2024
c906d78
[chore] [receiver/expvar] Use confighttp.NewDefaultClientConfig inste…
mackjmr Oct 9, 2024
8921f03
[chore]: fix go routine leaks in tests (#34729)
odubajDT Oct 9, 2024
b6ff1d4
[chore] [exporter/prometheusremotewrite] Use NewDefaultClientConfig i…
mackjmr Oct 9, 2024
553c49c
[chore] [googlecloud] add links to GCP observability overview in READ…
aabmass Oct 9, 2024
6d32187
goldendataset: fix histogram metric BucketCounts length (#35610)
narcis96 Oct 9, 2024
861a1b0
fix(hostmetricsreceiver): do not duplicate mountpoint metrics (#34635)
tcolgate Oct 9, 2024
880495b
[chore][exporter/elasticsearch] fix flaky assertion in TestExporterMe…
mauri870 Oct 9, 2024
de5e2f2
[chore] [exporter/logzio] Use NewDefaultClientConfig instead of manua…
mackjmr Oct 9, 2024
af7f7be
[chore][fileconsumer/archive] - add signature methods for archive fea…
VihasMakwana Oct 9, 2024
3fdf65b
[receiver/nginx] Use NewDefaultClientConfig instead of manually creat…
ChrsMark Oct 9, 2024
6ac9f9b
[chore] Fix: Fix flaky logdedupprocessor tests (#35719)
colelaven Oct 9, 2024
b6a9db9
Update module github.com/tidwall/gjson to v1.18.0 (#35694)
renovate[bot] Oct 9, 2024
d495106
chore: remove discussed comment
jmichalek132 Oct 9, 2024
9e90fa2
chore: ran make gci
jmichalek132 Oct 9, 2024
3ef458c
make FromMetricsV2 return symbols table too
jmichalek132 Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions .chloggen/filelog-receiver-fs-lock-handle-delete.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: bug_fix

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: filelogreceiver

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: "Suppress errors on EBADF when unlocking files."

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [35706]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext: "This error is harmless and happens regularly when delete_after_read is set. This is because we acquire the lock right at the start of the ReadToEnd function and then defer the unlock, but that function also performs the delete. So, by the time it returns and the defer runs the file descriptor is no longer valid."

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: [user]
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: 'bug_fix'

# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action)
component: hostmetrics receiver

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: "Fix duplicate filesystem metrics"

# One or more tracking issues related to the change
issues: [34635, 34512]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext: "The hostmetrics exposes duplicate metrics of identical mounts exposed in namespaces. The duplication causes errors in exporters that are sensitive to duplicate metrics. We can safely drop the duplicates as the metrics should be exactly the same."
27 changes: 27 additions & 0 deletions .chloggen/jm-prom-translation-rw2-gauges-support.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: pkg/translator/prometheusremotewrite

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: add FromMetricsV2

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [33661]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext: The public function is partially implemented and not ready for use

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: [api]
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -337,13 +337,13 @@ genotelcontribcol: $(BUILDER)

# Build the Collector executable.
.PHONY: otelcontribcol
otelcontribcol:
otelcontribcol: genotelcontribcol
cd ./cmd/otelcontribcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/otelcontribcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
-tags $(GO_BUILD_TAGS) .

# Build the Collector executable without the symbol table, debug information, and the DWARF symbol table.
.PHONY: otelcontribcollite
otelcontribcollite:
otelcontribcollite: genotelcontribcol
cd ./cmd/otelcontribcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/otelcontribcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
-tags $(GO_BUILD_TAGS) -ldflags $(GO_BUILD_LDFLAGS) .

Expand All @@ -353,12 +353,12 @@ genoteltestbedcol: $(BUILDER)

# Build the Collector executable, with only components used in testbed.
.PHONY: oteltestbedcol
oteltestbedcol:
oteltestbedcol: genoteltestbedcol
cd ./cmd/oteltestbedcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/oteltestbedcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
-tags $(GO_BUILD_TAGS) .

.PHONY: oteltestbedcollite
oteltestbedcollite:
oteltestbedcollite: genoteltestbedcol
cd ./cmd/oteltestbedcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/oteltestbedcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
-tags $(GO_BUILD_TAGS) -ldflags $(GO_BUILD_LDFLAGS) .

Expand Down
4 changes: 2 additions & 2 deletions cmd/githubgen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ go 1.22.0

require (
github.com/google/go-github/v65 v65.0.0
go.opentelemetry.io/collector/confmap v1.17.0
go.opentelemetry.io/collector/confmap/provider/fileprovider v1.17.0
go.opentelemetry.io/collector/confmap v1.17.1-0.20241008154146-ea48c09c31ae
go.opentelemetry.io/collector/confmap/provider/fileprovider v1.17.1-0.20241008154146-ea48c09c31ae
gopkg.in/yaml.v3 v3.0.1
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/githubgen/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cmd/opampsupervisor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ require (
github.com/knadh/koanf/v2 v2.1.1
github.com/open-telemetry/opamp-go v0.15.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/config/configopaque v1.17.0
go.opentelemetry.io/collector/config/configtls v1.17.0
go.opentelemetry.io/collector/semconv v0.111.0
go.opentelemetry.io/collector/config/configopaque v1.17.1-0.20241008154146-ea48c09c31ae
go.opentelemetry.io/collector/config/configtls v1.17.1-0.20241008154146-ea48c09c31ae
go.opentelemetry.io/collector/semconv v0.111.1-0.20241008154146-ea48c09c31ae
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
golang.org/x/sys v0.26.0
Expand Down
12 changes: 6 additions & 6 deletions cmd/opampsupervisor/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions cmd/telemetrygen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ require (
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.111.0
go.opentelemetry.io/collector/pdata v1.17.0
go.opentelemetry.io/collector/semconv v0.111.0
go.opentelemetry.io/collector/component v0.111.1-0.20241008154146-ea48c09c31ae
go.opentelemetry.io/collector/pdata v1.17.1-0.20241008154146-ea48c09c31ae
go.opentelemetry.io/collector/semconv v0.111.1-0.20241008154146-ea48c09c31ae
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.6.0
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.6.0
Expand Down Expand Up @@ -43,7 +43,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.111.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.111.1-0.20241008154146-ea48c09c31ae // indirect
go.opentelemetry.io/otel/metric v1.30.0 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand All @@ -52,7 +52,7 @@ require (
golang.org/x/text v0.18.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/protobuf v1.34.2 // indirect
google.golang.org/protobuf v1.35.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

Expand Down
20 changes: 10 additions & 10 deletions cmd/telemetrygen/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading