-
Notifications
You must be signed in to change notification settings - Fork 600
feat: Hide MetricReader and friends #2928
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
Merged
cijothomas
merged 13 commits into
open-telemetry:main
from
cijothomas:cijothomas/metricreader-hide
Apr 11, 2025
Merged
Changes from 4 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
32a68ec
hide metricreader
cijothomas 731dc3c
use custom reader in bench and stress
cijothomas 321defc
Merge branch 'main' into cijothomas/metricreader-hide
cijothomas 71f5734
Merge branch 'main' into cijothomas/metricreader-hide
cijothomas 4c79a99
make periodreader public always
cijothomas 36f6e58
rename ff and hide even more under features
cijothomas 650ffb7
cf
cijothomas 8c2cfdf
revert accidental edis
cijothomas 8e1ce8d
fix asyncpr
cijothomas bc4c144
fix cl
cijothomas 9a1b2d0
remove unwanted marked
cijothomas cdb0ff5
format
cijothomas 76cb13d
fix test code
cijothomas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,16 +45,21 @@ mod error; | |
| pub mod exporter; | ||
| pub(crate) mod instrument; | ||
| pub(crate) mod internal; | ||
| #[cfg(feature = "experimental_custom_metric_reader")] | ||
| pub(crate) mod manual_reader; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should probably just delete |
||
| pub(crate) mod meter; | ||
| mod meter_provider; | ||
| pub(crate) mod noop; | ||
| #[allow(unreachable_pub)] | ||
| pub(crate) mod periodic_reader; | ||
| #[cfg(feature = "experimental_metrics_periodicreader_with_async_runtime")] | ||
| /// Module for periodic reader with async runtime. | ||
| pub mod periodic_reader_with_async_runtime; | ||
| pub(crate) mod pipeline; | ||
| #[cfg(feature = "experimental_custom_metric_reader")] | ||
| pub mod reader; | ||
| #[cfg(not(feature = "experimental_custom_metric_reader"))] | ||
| pub(crate) mod reader; | ||
| pub(crate) mod view; | ||
|
|
||
| /// In-Memory metric exporter for testing purpose. | ||
|
|
@@ -68,9 +73,12 @@ pub use in_memory_exporter::{InMemoryMetricExporter, InMemoryMetricExporterBuild | |
| pub use aggregation::*; | ||
| #[cfg(feature = "spec_unstable_metrics_views")] | ||
| pub use error::{MetricError, MetricResult}; | ||
| #[cfg(feature = "experimental_custom_metric_reader")] | ||
| pub use manual_reader::*; | ||
| pub use meter_provider::*; | ||
| #[cfg(feature = "experimental_custom_metric_reader")] | ||
| pub use periodic_reader::*; | ||
| #[cfg(feature = "experimental_custom_metric_reader")] | ||
| pub use pipeline::Pipeline; | ||
|
|
||
| pub use instrument::InstrumentKind; | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.