You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: connector/spanmetricsconnector/README.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -114,14 +114,13 @@ The following settings can be optionally configured:
114
114
-`namespace`: Defines the namespace of the generated metrics. If `namespace` provided, generated metric name will be added `namespace.` prefix.
115
115
-`metrics_flush_interval` (default: `60s`): Defines the flush interval of the generated metrics.
116
116
-`metrics_expiration` (default: `0`): Defines the expiration time as `time.Duration`, after which, if no new spans are received, metrics will no longer be exported. Setting to `0` means the metrics will never expire (default behavior).
117
+
-`metric_timestamp_cache_size` (default `1000`): Only relevant for delta temporality span metrics. Controls the size of the cache used to keep track of a metric's TimestampUnixNano the last time it was flushed. When a metric is evicted from the cache, its next data point will indicate a "reset" in the series. Downstream components converting from delta to cumulative, like `prometheusexporter`, may handle these resets by setting cumulative counters back to 0.
117
118
-`exemplars`: Use to configure how to attach exemplars to histograms
118
119
-`enabled` (default: `false`): enabling will add spans as Exemplars.
119
120
-`events`: Use to configure the events metric.
120
121
-`enabled`: (default: `false`): enabling will add the events metric.
121
122
-`dimensions`: (mandatory if `enabled`) the list of the span's event attributes to add as dimensions to the events metric, which will be included _on top of_ the common and configured `dimensions` for span and resource attributes.
122
123
-`resource_metrics_key_attributes`: Filter the resource attributes used to produce the resource metrics key map hash. Use this in case changing resource attributes (e.g. process id) are breaking counter metrics.
123
-
-`delta_temporality`: Configuration exclusive to generating delta temporality span metrics
124
-
-`metric_timestamp_cache_size` (default `10000`): Size of the cache used to keep track of a metric's TimestampUnixNano the last time it was flushed. When a metric is evicted from the cache, its next data point will indicate a "reset" in the series. Downstream components converting from delta to cumulative, like `prometheusexporter`, may handle these resets by setting cumulative counters back to 0.
0 commit comments