Skip to content

Commit

Permalink
debug v2 endpoints: install reource processor
Browse files Browse the repository at this point in the history
  • Loading branch information
eedygreen committed Oct 31, 2024
1 parent 7a86186 commit 5b1d316
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions otelcol-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ processors:
gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.112.0
- import: go.opentelemetry.io/collector/processor/batchprocessor
gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.112.0
- import: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor
gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.112.0

connectors:
- import: go.opentelemetry.io/collector/connector/forwardconnector
Expand Down
6 changes: 3 additions & 3 deletions otelcol-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ exporters:
otlphttp/grafana_cloud:
traces_endpoint: https://otlp-gateway-prod-us-west-0.grafana.net/otlp/v1/traces #https://chainsafe.grafana.net/loki/api/v1/push
metrics_endpoint: https://otlp-gateway-prod-us-west-0.grafana.net/otlp/v1/metrics
logs_endpoint: https://otlp-gateway-prod-us-west-0.grafana.net/otlp/v1/logs
logs_endpoint: https://logs-prod-021.grafana.net:3100/otlp
auth:
authenticator: basicauth/grafana_cloud
encoding: json
Expand All @@ -105,11 +105,11 @@ exporters:
# enabled: false // its sending emtrics, lets test the otlp/v1/metrics now along with logs

otlphttp/loki:
endpoint: https://logs-prod-021.grafana.net:3100/loki/api/vi/push
endpoint: https://logs-prod-021.grafana.net:3100/loki/api/vi/push # https://logs-prod-021.grafana.net:3100/otlp
auth:
authenticator: basicauth/otlp
default_labels_enabled:
exporter: false
exporter:
job:

service:
Expand Down

0 comments on commit 5b1d316

Please sign in to comment.