grafana / ibm-db2-prometheus-exporter

A golang based prometheus metrics exporter for IBM DB2.
Apache License 2.0
10 stars 6 forks source link

feat: update IBM DB2 log expression to use log_type label #14

Closed algchoo closed 2 months ago

algchoo commented 3 months ago

Description

This PR adds a small update to the mixin for the log expression. It adds the log_type label and updates the expression to also use the matcher selectors. The intention is to update the k8s plugin snippet for logs to use the log_type label, avoiding potential confusion with needing to add an arbitrary value to the filename label.

This is untested in k8s, so there's no confirmation that the diagnostic logs are sent to the DB2 container's stdout.

Changes