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

Instrument the Kafka bootstrap nodes #1130

Merged
merged 2 commits into from
Feb 28, 2023
Merged

Conversation

fryckbos
Copy link
Contributor

Overview

This PR adds a new metric that captures the Kafka bootstrap nodes.

Testing

The agent includes a suite of tests which should be used to
verify your changes don't break existing functionality. These tests will run with
Github Actions when a pull request is made. More details on running the tests locally can be found
here,

Checks

[x] Are your contributions backwards compatible with relevant frameworks and APIs? Yes
[x] Does your code contain any breaking changes? No
[x] Does your code introduce any new dependencies? No

@kford-newrelic kford-newrelic added the on-roadmap Issue has been added to our product roadmap and will be worked in the coming quarter label Jan 26, 2023
@kford-newrelic kford-newrelic removed the on-roadmap Issue has been added to our product roadmap and will be worked in the coming quarter label Feb 14, 2023
@kford-newrelic
Copy link
Contributor

@fryckbos we had to move our review of this out to the Apr-Jun quarter

}

public NewRelicMetricsReporter(List<String> nodes) {
this.nodes = nodes;
Copy link
Contributor

Choose a reason for hiding this comment

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

To prevent the concatenation of Strings every harvest, the metric name for the nodes could be calculated here.

Copy link
Contributor Author

@fryckbos fryckbos Feb 17, 2023

Choose a reason for hiding this comment

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

I moved the creation of the metric names to init, does that make sense to you?

@kford-newrelic kford-newrelic added the on-roadmap Issue has been added to our product roadmap and will be worked in the coming quarter label Feb 14, 2023
@meiao
Copy link
Contributor

meiao commented Feb 28, 2023

Tests passed on #1165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-roadmap Issue has been added to our product roadmap and will be worked in the coming quarter
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants