Skip to content

Commit

Permalink
fix(metrics): decompose OTLP histograms
Browse files Browse the repository at this point in the history
Sumo doesn't support OTLP Histograms natively yet. Enable decomposing
these histograms into Gauge metrics in the exporter.
  • Loading branch information
swiatekm committed Sep 21, 2023
1 parent f419cb9 commit d71a1da
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changelog/3289.fixed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix(metrics): decompose OTLP histograms
2 changes: 2 additions & 0 deletions deploy/helm/sumologic/conf/metrics/otelcol/exporters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
sumologic/default:
metric_format: {{ include "metrics.otelcol.exporter.format" . }}
endpoint: {{ include "metrics.otelcol.exporter.endpoint" . }}
## Sumo doesn't yet natively support OTLP Histograms
decompose_otlp_histograms: true
## Configuration for sending queue
## ref: https://github.com/open-telemetry/opentelemetry-collector/tree/release/v0.37.x/exporter/exporterhelper#configuration
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ data:
storage: file_storage
timeout: 30s
sumologic/default:
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ data:
storage: file_storage
timeout: 30s
sumologic/default:
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ data:
config.yaml: |
exporters:
sumologic/default:
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ data:
storage: file_storage
timeout: 30s
sumologic/default:
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand Down

0 comments on commit d71a1da

Please sign in to comment.