From 5f992df417dc5aebfc4e4f184741e80d5996c044 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Tue, 25 Apr 2023 21:03:43 +0530 Subject: [PATCH] [exporter/datadog[ Rectify the histogram configuration parameter documentation (#21163) --- exporter/datadogexporter/config.go | 2 +- exporter/datadogexporter/examples/collector.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/exporter/datadogexporter/config.go b/exporter/datadogexporter/config.go index 716f1d4354ee..7620927802fb 100644 --- a/exporter/datadogexporter/config.go +++ b/exporter/datadogexporter/config.go @@ -117,7 +117,7 @@ type HistogramConfig struct { // SendCountSum states if the export should send .sum and .count metrics for histograms. // The default is false. - // Deprecated: [v0.75.0] Use `send_aggregations` (HistogramConfig.SendAggregations) instead. + // Deprecated: [v0.75.0] Use `send_aggregation_metrics` (HistogramConfig.SendAggregations) instead. SendCountSum bool `mapstructure:"send_count_sum_metrics"` // SendAggregations states if the exporter should send .sum, .count, .min and .max metrics for histograms. diff --git a/exporter/datadogexporter/examples/collector.yaml b/exporter/datadogexporter/examples/collector.yaml index 99f914105b3f..d840f9b80e6b 100644 --- a/exporter/datadogexporter/examples/collector.yaml +++ b/exporter/datadogexporter/examples/collector.yaml @@ -169,6 +169,7 @@ exporters: ## @param histograms - custom object - optional ## Histograms specific configuration. + # histogram: ## @param mode - string - optional - default: distributions ## How to report histograms. Valid values are: ## @@ -184,10 +185,10 @@ exporters: # # send_count_sum_metrics: false - ## @param send_aggreggations - boolean - optional - default: false + ## @param send_aggregation_metrics - boolean - optional - default: false ## Whether to report sum, count, min and max as separate histogram metrics. # - # send_aggreggations: false + # send_aggregation_metrics: false ## @param sums - custom object - optional