Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rectifying the histogram configuration parameter #21163

Merged
merged 1 commit into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exporter/datadogexporter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 3 additions & 2 deletions exporter/datadogexporter/examples/collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
##
Expand All @@ -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
Expand Down