Skip to content

Conversation

davidhewitt
Copy link
Contributor

This seemed like a reasonable cleanup, reading _preferred_temporality in this fashion is exactly what PeriodicExportingMetricReader does.

@davidhewitt davidhewitt requested a review from alexmojaki April 30, 2025 11:00
Copy link

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2a6a6c8
Status: ✅  Deploy successful!
Preview URL: https://56b694de.logfire-docs.pages.dev
Branch Preview URL: https://dh-wrapping-metric-exporter.logfire-docs.pages.dev

View logs

) -> None:
super().__init__(preferred_temporality=preferred_temporality, preferred_aggregation=preferred_aggregation) # type: ignore
super().__init__( # type: ignore
preferred_temporality=exporter._preferred_temporality,
Copy link
Contributor

Choose a reason for hiding this comment

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

Reading protected attributes doesn't really feel better

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fair enough, I'll just update comments as part of #1048

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