-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Dynamic topic for googlecloudpubsub exporter #33547
Labels
enhancement
New feature or request
exporter/googlecloudpubsub
needs triage
New item requiring triage
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This was referenced Jun 19, 2024
This was referenced Jul 16, 2024
This was referenced Jul 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
exporter/googlecloudpubsub
needs triage
New item requiring triage
Component(s)
exporter/googlecloudpubsub
Is your feature request related to a problem? Please describe.
Different logs (for example from different files) should be written to different topics on GCP PubSub. Current implementation allows only to specify one destination topic in static yaml config.
Describe the solution you'd like
I want to add a new flag to config
topic_from_attribute
. If set totrue
each log should be sent to a topic specified in Attributegcp.topic
of a LogRecord. If attribute is not present or is in invalid format logs should be sent to default topic specified in thetopic
field.My PR showing changes needed to obtain this mechanism: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/33545/files
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: