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 notes about MetricExporter naming #2286

Merged
merged 5 commits into from
Feb 15, 2022

Conversation

legendecas
Copy link
Member

@legendecas legendecas commented Jan 24, 2022

Changes

If the implementors choose to implement pull metric exporters modeled as a metric reader, the only variant for metric exporter interface is push metric exporter. While the pull metric exporter is modeled as a "metric reader", the better naming for the genric "metric exporter" interface may be "push metric exporter".

Just open this PR to see if there are similar naming confusions with other SDK implementors. If so, I'd believe the metric exporter and metric reader section need a re-structure in a follow-up PR since how the pull metric exporter is modeled is important to the naming of the metric exporter interface.

Related:

Copy link
Member

@reyang reyang left a comment

Choose a reason for hiding this comment

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

LGTM.

@reyang reyang added area:sdk Related to the SDK spec:metrics Related to the specification/metrics directory labels Jan 26, 2022
@legendecas legendecas marked this pull request as ready for review January 26, 2022 06:13
@legendecas legendecas requested review from a team January 26, 2022 06:13
Copy link
Contributor

@jmacd jmacd left a comment

Choose a reason for hiding this comment

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

Agree that MetricReader/PushMetricExporter are acceptable choices

@legendecas
Copy link
Member Author

@bogdandrutu 👋 friendly pinging assignee. we have 6 approvals, would you mind landing this one? thank you!

@tigrannajaryan
Copy link
Member

Enough approvals, more than 2 days since last comment/change. Merging.

@tigrannajaryan tigrannajaryan merged commit 4e4d3b2 into open-telemetry:main Feb 15, 2022
@legendecas legendecas deleted the metric-exporter branch February 15, 2022 16:37
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
If the implementors choose to implement pull metric exporters modeled as a metric reader, the only variant for metric exporter interface is push metric exporter. While the pull metric exporter is modeled as a "metric reader", the better naming for the genric "metric exporter" interface may be "push metric exporter".

Just open this PR to see if there are similar naming confusions with other SDK implementors. If so, I'd believe the metric exporter and metric reader section need a re-structure in a follow-up PR since how the pull metric exporter is modeled is important to the naming of the metric exporter interface.

Related:
- open-telemetry/opentelemetry-js#2707
- open-telemetry/opentelemetry-js#2589 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sdk Related to the SDK spec:metrics Related to the specification/metrics directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants