Skip to content

Object name escaping in JMXReporter doesn't cover tags #5387

Description

@piotrp

Current 5.x releases (5.0.8 at time I am reporting this) don't escape tags when generating ObjectName for JMX. Invalid tag name will break ObjectName construction, while an invalid tag value will fail at a later time.

There are also two smaller issues:

  • tags can override name and type
  • domain is quoted but it doesn't suport quoting, an illegal character will always result in NPE (for : or \n) or an unregistrable pattern (*or?`)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions