Skip to content

Add InMemoryExporter for Metrics#2192

Merged
cijothomas merged 3 commits intoopen-telemetry:mainfrom
utpilla:utpilla/Add-InMemoryExporter-For-Metrics
Jul 26, 2021
Merged

Add InMemoryExporter for Metrics#2192
cijothomas merged 3 commits intoopen-telemetry:mainfrom
utpilla:utpilla/Add-InMemoryExporter-For-Metrics

Conversation

@utpilla
Copy link
Copy Markdown
Contributor

@utpilla utpilla commented Jul 26, 2021

Changes

  • Add InMemoryExporter for Metrics
  • Add an example for InMemoryExporter for Metrics

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes

@utpilla utpilla requested a review from a team July 26, 2021 21:50
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 26, 2021

Codecov Report

Merging #2192 (f79f822) into main (c7aebdb) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2192      +/-   ##
==========================================
- Coverage   74.78%   74.69%   -0.09%     
==========================================
  Files         215      217       +2     
  Lines        6939     6948       +9     
==========================================
+ Hits         5189     5190       +1     
- Misses       1750     1758       +8     
Impacted Files Coverage Δ
...InMemory/InMemoryExporterMetricHelperExtensions.cs 0.00% <0.00%> (ø)
...metry.Exporter.InMemory/InMemoryExporterOptions.cs 0.00% <0.00%> (ø)
...ZPages/Implementation/ZPagesExporterEventSource.cs 62.50% <0.00%> (+6.25%) ⬆️

/// <summary>
/// Gets or sets the metric export interval.
/// </summary>
public int MetricExportInterval { get; set; } = 1000;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not this PR, but we'll need to make the units obvious for the time interval! (similar to tracing. eg: ScheduledDelayMilliseconds)

@cijothomas cijothomas merged commit 28f59eb into open-telemetry:main Jul 26, 2021
@utpilla utpilla deleted the utpilla/Add-InMemoryExporter-For-Metrics branch July 30, 2021 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants