push.labels

Adds static labels (key=value) to every pushed metric.

This parameter applies to impstats: Generate Periodic Statistics of Internal Counters.

Name:

push.labels

Scope:

module

Type:

array (strings)

Default:

module=none

Required?:

no

Introduced:

8.2602.0

Description

Defines an array of labels that will be attached to all metrics. Each entry must be a key=value string.

Module usage

module(load="impstats"
       push.labels=["env=dev", "instance=rsyslog-1"])

See also

See also impstats: Generate Periodic Statistics of Internal Counters.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.