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

36330 bi as attrs #37508

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

shalper2
Copy link
Contributor

Description

Adds a new attribute which optionally includes build and/or version info for the Splunk host being monitored. Also removed the use of context module in the client calls used by the scrape functions.

Link to tracking issue

Fixes 36330

Testing

unit tests updated and passing

Documentation

README.md was updated to include new configuration field

case string:
endpointType = t
default:
endpointType = fmt.Sprintf("%v", eptType)
Copy link
Contributor

Choose a reason for hiding this comment

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

You can call fmt.Sprint here instead of providing the formatter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

woops!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[receiver/splunkenterprise] Add Attributes to track Build & Version Data
2 participants