fluent / fluent/fluent-plugin-prometheus

fluentd_build_info

Open
#40 5 comments 2 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Ruby
Stars
257
Forks
83
Avg merge
1d 16h
Merged PRs (30d)
7

Description

For many exporters, there's a bit of metadata that is added to the metrics. For example from Prometheus itself
```
# HELP prometheus_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which prometheus was built.
# TYPE prometheus_build_info gauge
prometheus_build_info{branch="HEAD",goversion="go1.9.1",revision="3a7c51ab70fc7615cd318204d3aa7c078b7c5b20",version="1.8.1"} 1
```
or Grafana
```
# HELP grafana_info Information about the Grafana
# TYPE grafana_info gauge
grafana_info{version="4.6.1"} 1
```
Would you accept a pull request to add similar metadata to this plugin?
I was thinking something like

```
fluentd_build_info{rubyversion="??", tdagentversion="??"} 1
```
Would be useful to help see what was deployed

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.