Patterns in Prometheus JMX exporter

  • Π’ Π²Ρ‹Π²ΠΎΠ΄Π΅ настроСнного ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ jmx_exporter ΠΌΠΎΠΆΠ½ΠΎ ΡƒΠ²ΠΈΠ΄Π΅Ρ‚ΡŒ строки Π²ΠΈΠ΄Π°:
# HELP trino_execution_resourcegroups_InternalResourceGroup_MaxQueuedQueries  trino.execution.resourcegroups:name=admin,type=InternalResourceGroup,attribute=MaxQueuedQueries
# TYPE trino_execution_resourcegroups_InternalResourceGroup_MaxQueuedQueries untyped
  • Π’ΠΎΡ‚ эта trino.execution.resourcegroups:name=admin,type=InternalResourceGroup,attribute=MaxQueuedQueries Ρ‡Π°ΡΡ‚ΡŒ Π΄ΠΎΠ»ΠΆΠ½Π° Π±Ρ‹Ρ‚ΡŒ настроСна Π² ΠΊΠΎΠ½Ρ„ΠΈΠ³Π°Ρ… pattern ΠΏΡ€ΠΈΠΌΠ΅Ρ€Π½ΠΎ Π²ΠΎΡ‚ Ρ‚Π°ΠΊ:
  - pattern: 'trino.execution.resourcegroups<type=InternalResourceGroup, name=global\.adhoc><>(\w+): (\d+)'
    name: trino_resourcegroups_adhoc
    labels:
      name: "root_group"
      type: $1
    value: $2
  - pattern: 'trino.execution.resourcegroups<type=InternalResourceGroup, name=global\.adhoc\.(\w+)><>(\w+): (\d+)'
    name: trino_resourcegroups_adhoc
    labels:
      name: $1
      type: $2
    value: $3
  - pattern: 'trino.execution.resourcegroups<type=InternalResourceGroup, name=global\.bi><>(\w+): (\d+)'
    name: trino_resourcegroups_bi
    labels:
      name: "root_group"
      type: $1
    value: $2
  - pattern: 'trino.execution.resourcegroups<type=InternalResourceGroup, name=global\.bi\.(\w+)><>(\w+): (\d+)'
    name: trino_resourcegroups_bi
    labels:
      name: $1
      type: $2
    value: $3
  - pattern: ".*"