Skip to content

Commit

Permalink
Fix metric export interval to match spec
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlanabrennan committed Nov 19, 2021
1 parent 66d2621 commit dc9d2fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/OpenTelemetry.Exporter.Console/ConsoleExporterOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public class ConsoleExporterOptions
public ConsoleExporterOutputTargets Targets { get; set; } = ConsoleExporterOutputTargets.Console;

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

/// <summary>
/// Gets or sets the AggregationTemporality used for Histogram
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 dc9d2fb

Please sign in to comment.