Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro committed Jul 20, 2024
1 parent f9bf6ba commit 176c332
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docker-compose/monitor/jaeger-v2-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ service:
processors: [batch]
exporters: [jaeger_storage_exporter, spanmetrics]
metrics/spanmetrics:
receivers: [spanmetrics]
exporters: [prometheus]
receivers: [spanmetrics]
exporters: [prometheus]


extensions:
Expand All @@ -22,6 +22,7 @@ extensions:
metric_backends:
some_metrics_storage:
prometheus:
endpoint: http://prometheus:9090

connectors:
spanmetrics:
Expand All @@ -39,5 +40,5 @@ processors:
exporters:
jaeger_storage_exporter:
trace_storage: some_storage
prometheus:
prometheus:
endpoint: "0.0.0.0:8889"
2 changes: 1 addition & 1 deletion pkg/prometheus/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

// Configuration describes the options to customize the storage behavior.
type Configuration struct {
ServerURL string
ServerURL string `mapstructure:"endpoint"`
ConnectTimeout time.Duration
TLS tlscfg.Options
TokenFilePath string
Expand Down

0 comments on commit 176c332

Please sign in to comment.