influxdata / telegraf

Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.
https://influxdata.com/telegraf
MIT License
14.5k stars 5.55k forks source link

Weblogic application list #10348

Closed soroush-ghorbani closed 2 years ago

soroush-ghorbani commented 2 years ago

Hi I use telegraf to get data from Jolokia Jmx exporter. List of all applications deployed on Weblogic available in rest output from Jolokia with: http://localhost:7001/jolokia/read/com.bea:Name=*,ServerRuntime=*,Type=ApplicationRuntime

but [[input.jolokia2_agent.metric]] name = "ApplicationRuntime" mbean = "com.bea:Name=,ServerRuntime=,Type=ApplicationRuntime" [[output.prometheus_client]] listen = ":9999"

only return one record of application name and when metrics page refreshed, another application name appear.

telegraf-tiger[bot] commented 2 years ago

Hello! I recommend posting this question in our Community Slack or Community Page, we have a lot of talented community members there who could help answer your question more quickly. Heads up, this issue will be automatically closed after 7 days of inactivity. Thank you!

soroush-ghorbani commented 2 years ago

metric_version of Prometheus is 1 and need to be set 2