Skip to content

Commit

Permalink
make generate-otlp
Browse files Browse the repository at this point in the history
Signed-off-by: György Krajcsovits <[email protected]>
  • Loading branch information
krajorama committed Dec 9, 2024
1 parent 223d8e2 commit 6c8d821
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 13 deletions.
2 changes: 1 addition & 1 deletion pkg/distributor/otel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func TestOTelMetricsToTimeSeries(t *testing.T) {
// Ignore, as these labels are generated from service.name and service.instance.id
continue
default:
k = prometheustranslator.NormalizeLabel(k, false)
k = prometheustranslator.NormalizeLabel(k)
}
expTargetInfoLabels = append(expTargetInfoLabels, mimirpb.LabelAdapter{
Name: k,
Expand Down
18 changes: 14 additions & 4 deletions pkg/distributor/otlp/helper_generated.go

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

19 changes: 11 additions & 8 deletions pkg/distributor/otlp/metrics_to_prw_generated.go

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

0 comments on commit 6c8d821

Please sign in to comment.