opentelemetry-java-contrib icon indicating copy to clipboard operation
opentelemetry-java-contrib copied to clipboard

JMX gatherer with wildfly - "WARNING: No valid value(s) for wildfly.request.count ..."

Open hecomp opened this issue 1 year ago • 1 comments

Description A clear and concise description of what the bug is or observed behavior. The JMX Metric Gatherer is throwing warnings for listener metric wildfly.request.count.

Steps to reproduce Provide a (runnable) recipe for reproducing the error. See the following example PR. Wildfly Example

Expectation A clear and concise description of what you expected to see. The expectation is JMX gatherer scraping/gathering Wildfly metrics properly for each metric.

What applicable config did you use? Config: (e.g. the yaml config file)

receivers:
  jmx/wildfly:
      jar_path: /opt/opentelemetry-jmx-metrics.jar
      endpoint: wildfly:19990
      target_system: jvm,wildfly
      collection_interval: 5s

The following PR has a complete concise info. Wildfly Example

Relevant Environment Information Version: (e.g., v0.0.1, 2bef20a, etc.) OS: (e.g., "Ubuntu 20.04") Compiler (if manually compiled): (e.g., "openJDK 1.8.0_252") jboss/wildfly:23.0.1.Final

Additional context Add any other context about the problem here. otel-collector | 2022-07-06T22:39:17.024Z debug subprocess/subprocess.go:288 WARNING: No valid value(s) for wildfly.request.count - io.opentelemetry.contrib.jmxmetrics.MBeanHelper@196d0b57.requestCount {"kind": "receiver", "name": "jmx/wildfly", "pipeline": "metrics"}

hecomp avatar Jul 06 '22 23:07 hecomp

tagging @Mrod1598 @rmfitzpatrick @dehaansa for their visibility

trask avatar Jul 07 '22 23:07 trask

@hecomp This issue looks stale and the example linked above has been closed as well. Please reopen if this is still a concern. Thanks.

breedx-splk avatar Sep 19 '23 20:09 breedx-splk