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

fix(inputs.gnmi): create selfstat to track connection state #13149

Merged
merged 2 commits into from
May 2, 2023

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Apr 26, 2023

Creates metric for each connection source, with 1 as connected and 0 as disconnected.

fixes: #13088

@telegraf-tiger telegraf-tiger bot added area/gnmi fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Apr 26, 2023
@powersj powersj marked this pull request as ready for review April 27, 2023 14:54
@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Apr 27, 2023
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Thanks @powersj! Some comments from my side...

Creates metric for each connection source, with 1 as connected and 0 as
disconnected.

fixes: influxdata#13088
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
@telegraf-tiger
Copy link
Contributor

@powersj
Copy link
Contributor Author

powersj commented Apr 28, 2023

@srebhan accepted your change

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @powersj!

@srebhan srebhan merged commit f55d214 into influxdata:master May 2, 2023
powersj added a commit that referenced this pull request May 22, 2023
@srebhan srebhan added this to the v1.26.3 milestone Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gnmi fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add binary metric to monitor gnmi connection state
2 participants