Skip to content

Conversation

@prodion23
Copy link
Collaborator

@prodion23 prodion23 commented Oct 17, 2024

  • otel + proto upgrades, some linter changes with linter upgrade.

Currently python otel zipkin has conflicting proto dependency as otlp http, for now I've commented out zipkin support(we still have otlp http & otlp grpc)

exporter = ZipkinExporter(
endpoint=self._config.agent_config.reporting.endpoint
)
#exporter = ZipkinExporter(

Choose a reason for hiding this comment

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

will this give some form of npe? Maybe we can make this case point to noopexporter?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no npe here. We assign exporter to None by default & then the caller of this func checks:

        exporter = self._init_exporter(reporter_type)
        if exporter is None:
            logger.warning("Unable to initialize exporter")
            return

@prodion23 prodion23 merged commit 5b9a2ed into main Oct 23, 2024
5 checks passed
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.

3 participants