Skip to content

Commit

Permalink
Add resource attr
Browse files Browse the repository at this point in the history
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
  • Loading branch information
Wise-Wizard committed Jul 17, 2024
1 parent a71c17b commit 9eecdd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cmd/jaeger/internal/all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ service:
processors: [batch]
exporters: [jaeger_storage_exporter]
telemetry:
resource:
service.name: jaeger
metrics:
level: detailed
traces:
Expand Down
4 changes: 2 additions & 2 deletions cmd/jaeger/internal/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"fmt"
"log"

"github.com/jaegertracing/jaeger/pkg/version"
"github.com/spf13/cobra"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/confmap"
Expand All @@ -29,8 +30,7 @@ func Command() *cobra.Command {
info := component.BuildInfo{
Command: "jaeger",
Description: description,
// TODO: Set Version back to version.Get().String() once https://github.com/open-telemetry/opentelemetry-collector/issues/10644 is fixed
Version: "jaeger",
Version: version.Get().String(),
}

settings := otelcol.CollectorSettings{
Expand Down

0 comments on commit 9eecdd6

Please sign in to comment.