grafana cloud
This commit is contained in:
parent
67a099a597
commit
4a31f0cb42
1 changed files with 37 additions and 6 deletions
|
@ -7,7 +7,7 @@ receivers:
|
||||||
endpoint: 0.0.0.0:4318
|
endpoint: 0.0.0.0:4318
|
||||||
|
|
||||||
processors:
|
processors:
|
||||||
batch:
|
batch: # https://github.com/open-telemetry/opentelemetry-collector/tree/main/processor/batchprocessor
|
||||||
attributes:
|
attributes:
|
||||||
actions:
|
actions:
|
||||||
- action: insert
|
- action: insert
|
||||||
|
@ -20,7 +20,7 @@ processors:
|
||||||
value: [host.name, service.name, service.namespace]
|
value: [host.name, service.name, service.namespace]
|
||||||
|
|
||||||
exporters:
|
exporters:
|
||||||
otlp: # tempo
|
otlp/tempo:
|
||||||
endpoint: tempo:4317
|
endpoint: tempo:4317
|
||||||
tls:
|
tls:
|
||||||
insecure: true
|
insecure: true
|
||||||
|
@ -30,11 +30,40 @@ exporters:
|
||||||
endpoint: http://loki:3100/loki/api/v1/push
|
endpoint: http://loki:3100/loki/api/v1/push
|
||||||
tls:
|
tls:
|
||||||
insecure: true
|
insecure: true
|
||||||
|
otlp/grafana_cloud_traces:
|
||||||
|
# https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/otlpexporter
|
||||||
|
endpoint: "tempo-prod-10-prod-eu-west-2.grafana.net:443"
|
||||||
|
auth:
|
||||||
|
authenticator: basicauth/grafana_cloud_tempo
|
||||||
|
loki/grafana_cloud_logs:
|
||||||
|
# https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/lokiexporter
|
||||||
|
endpoint: "https://logs-prod-012.grafana.net/loki/api/v1/push"
|
||||||
|
auth:
|
||||||
|
authenticator: basicauth/grafana_cloud_loki
|
||||||
|
prometheusremotewrite/grafana_cloud_metrics:
|
||||||
|
# https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/prometheusremotewriteexporter
|
||||||
|
endpoint: "https://prometheus-prod-24-prod-eu-west-2.grafana.net/api/prom/push"
|
||||||
|
add_metric_suffixes: false
|
||||||
|
auth:
|
||||||
|
authenticator: basicauth/grafana_cloud_prometheus
|
||||||
|
|
||||||
extensions:
|
extensions:
|
||||||
health_check:
|
health_check:
|
||||||
# pprof:
|
# pprof:
|
||||||
zpages:
|
zpages:
|
||||||
|
basicauth/grafana_cloud_tempo:
|
||||||
|
# https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/basicauthextension
|
||||||
|
client_auth:
|
||||||
|
username: "853044"
|
||||||
|
password: "glc_eyJvIjoiMTA5NTM0MyIsIm4iOiJzdGFjay05MDA5NDctaW50ZWdyYXRpb24tZ3VydS1jb2xsZWN0b3IiLCJrIjoiNFJGWFo4bWRVWDI3WjkyZTRQNFJiMzB2IiwibSI6eyJyIjoicHJvZC1ldS13ZXN0LTIifX0="
|
||||||
|
basicauth/grafana_cloud_prometheus:
|
||||||
|
client_auth:
|
||||||
|
username: "1515927"
|
||||||
|
password: "glc_eyJvIjoiMTA5NTM0MyIsIm4iOiJzdGFjay05MDA5NDctaW50ZWdyYXRpb24tZ3VydS1jb2xsZWN0b3IiLCJrIjoiNFJGWFo4bWRVWDI3WjkyZTRQNFJiMzB2IiwibSI6eyJyIjoicHJvZC1ldS13ZXN0LTIifX0="
|
||||||
|
basicauth/grafana_cloud_loki:
|
||||||
|
client_auth:
|
||||||
|
username: "858728"
|
||||||
|
password: "glc_eyJvIjoiMTA5NTM0MyIsIm4iOiJzdGFjay05MDA5NDctaW50ZWdyYXRpb24tZ3VydS1jb2xsZWN0b3IiLCJrIjoiNFJGWFo4bWRVWDI3WjkyZTRQNFJiMzB2IiwibSI6eyJyIjoicHJvZC1ldS13ZXN0LTIifX0="
|
||||||
|
|
||||||
service:
|
service:
|
||||||
extensions: [health_check, zpages]
|
extensions: [health_check, zpages]
|
||||||
|
@ -42,12 +71,14 @@ service:
|
||||||
traces:
|
traces:
|
||||||
receivers: [otlp]
|
receivers: [otlp]
|
||||||
processors: [batch]
|
processors: [batch]
|
||||||
exporters: [otlp]
|
exporters: [otlp/tempo, otlp/grafana_cloud_traces]
|
||||||
metrics:
|
metrics:
|
||||||
receivers: [otlp]
|
receivers: [otlp]
|
||||||
processors: [batch]
|
processors: [batch]
|
||||||
exporters: [prometheusremotewrite]
|
exporters:
|
||||||
|
- prometheusremotewrite
|
||||||
|
- prometheusremotewrite/grafana_cloud_metrics
|
||||||
logs:
|
logs:
|
||||||
receivers: [otlp]
|
receivers: [otlp]
|
||||||
processors: [batch, attributes, resource]
|
processors: [attributes, resource, batch]
|
||||||
exporters: [loki]
|
exporters: [loki, loki/grafana_cloud_logs]
|
||||||
|
|
Loading…
Reference in a new issue