Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register build info in prometheus #120

Merged
merged 1 commit into from
Oct 19, 2021
Merged

Register build info in prometheus #120

merged 1 commit into from
Oct 19, 2021

Conversation

bobrik
Copy link
Contributor

@bobrik bobrik commented Oct 19, 2021

In --version output:

ebpf_exporter, version v1.2.4-7-g9e636c8 (branch: master, revision: 9e636c8)
  build user:       docker@e2a4483ac948
  build date:       2021-10-19T01:59:32+00:00
  go version:       go1.17.2
  platform:         linux/arm64

As a metric:

ebpf_exporter_build_info{branch="master",goversion="go1.17.2",revision="9e636c8",version="v1.2.4-7-g9e636c8"}

In `--version` output:

```
ebpf_exporter, version v1.2.4-7-g9e636c8 (branch: master, revision: 9e636c8)
  build user:       docker@e2a4483ac948
  build date:       2021-10-19T01:59:32+00:00
  go version:       go1.17.2
  platform:         linux/arm64
```

As a metric:

```
ebpf_exporter_build_info{branch="master",goversion="go1.17.2",revision="9e636c8",version="v1.2.4-7-g9e636c8"}
```
@bobrik bobrik merged commit fdeae53 into master Oct 19, 2021
@bobrik bobrik deleted the ivan/revision-metric branch October 19, 2021 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant