Skip to content

Extract fields from mbeans in Jolokia metricset #13604

@jsoriano

Description

@jsoriano

We could parse mbean identifiers so they can be more easily used for filtering and correlation, for example with the following mbean identifier:

kafka.log:type=Log,name=Size,topic=sometopic,partition=5

We could add something like this to the event:

"jmx": {
  "mbean": {
    "id": "kafka.log:type=Log,name=Size,topic=sometopic,partition=5"
    "name": "kafka.log",
    "property": {
      "type": "Log",
      "name": "Size",
      "topic": "sometopic",
      "partition": "5"
    }
  }
}

What in this example it could be used to more easily filter and correlate per topic or partition.

This would be specially useful when using wildcards, where mbeans cannot be so easily predicted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions