Skip to content

Commit 03313e7

Browse files
Fix metric export interval to match spec (#2641)
1 parent 66d2621 commit 03313e7

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
`FormatException` if it fails to parse any of the supported environment
77
variables.
88

9+
* Changed `OtlpExporterOptions.MetricExportIntervalMilliseconds` to default
10+
60000 milliseconds.
11+
([#2641](https://github.com/open-telemetry/opentelemetry-dotnet/pull/2641))
12+
913
## 1.2.0-beta1
1014

1115
Released 2021-Oct-08

src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ public OtlpExporterOptions()
109109
public BatchExportProcessorOptions<Activity> BatchExportProcessorOptions { get; set; } = new BatchExportActivityProcessorOptions();
110110

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

116116
/// <summary>
117117
/// Gets or sets the AggregationTemporality used for Histogram

0 commit comments

Comments
 (0)