-
Notifications
You must be signed in to change notification settings - Fork 0
Add exporters and support for mutli-exporter #24
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
Conversation
mheffner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, mostly would recommend bumping to v23 (I'm about to do same for pyrotel)
| static kafka_exporter(config?: Partial<KafkaExporter>): KafkaExporter { | ||
| return { | ||
| _type: "kafka", | ||
| security_protocol: "plaintext", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why this has to be specified?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got an error that it was unspecified and needed to be from rdkafka iirc, suspect it was related to the command line arg changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that is now fixed in the latest release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what I was thinking
Co-authored-by: Mike Heffner <mikeh@fesnel.com>
…js into multiple_exporters
Completes: STR-3494
This PR brings rotel-nodejs up to the latest release of rotel and adds support for the Datadog, Kafka, Blackhole, and Clickhouse exporters. Additionally we've modified the configuration to support multiple exporters. We've tested locally by building the latest main branch of rotel and swapping out the
rotel-agentbinary in the node_modules/@streamfold/bin directory. Additionally we've tested all exporters with the rotel-nodejs-hello-world project, linking to this branch and changes on the local filesystem via modifying package.json like so.We should follow up with more comprehensive unit testing in additional PRs.