Document toolboxDocument toolbox

metrics.prometheus

Introduction

The tags beginning with metrics.prometheus identify events generated by Prometheus.

Valid tags and data tables

The full tag must have 3 levels. The first two are fixed as metrics.prometheus. The third level identifies the job of events sent.

Technology

Brand

Type

Technology

Brand

Type

metrics

prometheus

  • prometheus

  • node

  • apiserver

  • alertmanager

  • pushgateway

These are just a few of the available options for this level. The collector will assign this level to the tag automatically depending on the event type.

These are the valid tags and corresponding data tables that will receive the parsers' data:

Tag

Data table

Tag

Data table

metrics.prometheus.<job>

metrics.prometheus

For more information, read more About Devo tags.

Table structure

These are the fields displayed in this table:

metrics.prometheus

Field

Type

Field transformation

Source field name

Extra fields

Field

Type

Field transformation

Source field name

Extra fields

eventdate

timestamp

 

 

 

hostname

str

 

hostchain

 

tag

str

 

 

 

instanceUrl

str

 

instance

 

job

str

= vjob

 

 

name

str

 

 

 

label

str

 

 

 

value

float8

ifthenelse(value_str = 'NaN', null(0.0), ifthenelse(value_str = '+Inf', null(0.0), ifthenelse(value_str = '-Inf', null(0.0), float8(value_str))))

 

 

value_str

str

 

value

 

metricTime

timestamp

 

timestamp

✓

client

str

=vclient

 

✓

rawMessage

str

 

 

✓