Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
warning-explosive committed Apr 4, 2023
1 parent 0caef5c commit 18376de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,14 @@ connectors:
- name: http.status_code
dimensions_cache_size: 1000
aggregation_temporality: "AGGREGATION_TEMPORALITY_CUMULATIVE"
servicegraph:
latency_histogram_buckets: [1, 2, 3, 4, 5]
dimensions:
- dimension-1
- dimension-2
store:
ttl: 1s
max_items: 10

service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [otlp, spanmetrics, servicegraph]
exporters: [otlp, spanmetrics]
metrics:
receivers: [otlp, spanmetrics, servicegraph]
receivers: [otlp, spanmetrics]
processors: [metricstransform/insert]
exporters: [prometheus]
9 changes: 6 additions & 3 deletions docker-compose/prometheus/prometheus-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
global:
evaluation_interval: 1m # How frequently to evaluate rules.
scrape_interval: 5s # How frequently to scrape targets by default.
scrape_timeout: 5s # How long until a scrape request times out.
evaluation_interval: 1m # How frequently to evaluate rules.
scrape_interval: 15s # How frequently to scrape targets by default.
scrape_timeout: 10s # How long until a scrape request times out.
scrape_configs:
- job_name: metrics
honor_timestamps: true
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- 'otel-collector:9464' # open-telemetry metrics exporter
Expand Down

0 comments on commit 18376de

Please sign in to comment.