Skip to content

Commit

Permalink
Fix metric export interval to match spec (#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlanabrennan authored Nov 19, 2021
1 parent 66d2621 commit 03313e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
`FormatException` if it fails to parse any of the supported environment
variables.

* Changed `OtlpExporterOptions.MetricExportIntervalMilliseconds` to default
60000 milliseconds.
([#2641](https://github.com/open-telemetry/opentelemetry-dotnet/pull/2641))

## 1.2.0-beta1

Released 2021-Oct-08
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ public OtlpExporterOptions()
public BatchExportProcessorOptions<Activity> BatchExportProcessorOptions { get; set; } = new BatchExportActivityProcessorOptions();

/// <summary>
/// Gets or sets the metric export interval in milliseconds. The default value is 1000 milliseconds.
/// Gets or sets the metric export interval in milliseconds. The default value is 60000.
/// </summary>
public int MetricExportIntervalMilliseconds { get; set; } = 1000;
public int MetricExportIntervalMilliseconds { get; set; } = 60000;

/// <summary>
/// Gets or sets the AggregationTemporality used for Histogram
Expand Down

0 comments on commit 03313e7

Please sign in to comment.