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

Add InMemoryExporter for Metrics #2192

Conversation

utpilla
Copy link
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

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
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