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

Adding instance seperation for tomcat input plugin #3277

Closed
wants to merge 4 commits into from

Conversation

@liKe2k1
Copy link

commented Sep 28, 2017

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.
liKe2k1 added 4 commits Sep 28, 2017
Update tomcat.go
Adding instance seperation
Update tomcat_test.go
Adding instance seperation
@danielnelson

This comment has been minimized.

Copy link
Contributor

commented Sep 28, 2017

I think you can already do this by using the tags subtable on any input:

[[inputs.tomcat]]
  ## URL of the Tomcat server status
  # url = "http://127.0.0.1:8080/manager/status/all?XML=true"
  [inputs.tomcat.tags]
    instance = "default"

https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md#input-config-tags

@liKe2k1

This comment has been minimized.

Copy link
Author

commented Sep 28, 2017

Shame on me... i miss this point

@liKe2k1 liKe2k1 closed this Sep 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.