-
Notifications
You must be signed in to change notification settings - Fork 106
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
Add zone serial numbers as metrics #91
Add zone serial numbers as metrics #91
Conversation
7fbbd83
to
2d67cbb
Compare
@SuperQ could you please review this one? |
I'm not familiar with the |
It is mentioned in https://www.ietf.org/rfc/rfc1035.txt
This is what you configure inside your zone definition:
I'm not sure this will be needed, but i didn't want to strip this label, as bind exports it. |
Are we only concerned about zone serials? They would only have |
2d67cbb
to
9687e3b
Compare
I think you are right about serials being needed only for |
bind_exporter.go
Outdated
zoneSerial = prometheus.NewDesc( | ||
prometheus.BuildFQName(namespace, "", "zone_serial"), | ||
"Zone serial number.", | ||
[]string{"view", "name"}, nil, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit, name
is a bit generic, maybe zone
or zone_name
to make it more specific and less likely to conflict with other (discovery) labels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. 👍
MInor nit, otherwise LGTM. |
Signed-off-by: Tadas <seitanas@users.noreply.github.com>
9687e3b
to
2f8cca5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
@SuperQ, |
We don't have a specific release cycle, but we can probably do one soon. We're rolling out the https library support, so maybe @roidelapluie would like to add that here. I also have another bugfix PR open. |
* [CHANGE] Replace legacy common/log with promlog #85 * [FEATURE] Add current recursive clients metric #74 * [FEATURE] Add zone serial numbers as metrics #91 * [FEATURE] Add TLS and basic authentication #94 * [BUGFIX] Use uint64 for counters in v3 xml. #70 * [BUGFIX] Fix Gauge type for large gauges #90 Signed-off-by: Ben Kochie <superq@gmail.com>
* [CHANGE] Replace legacy common/log with promlog #85 * [FEATURE] Add current recursive clients metric #74 * [FEATURE] Add zone serial numbers as metrics #91 * [FEATURE] Add TLS and basic authentication #94 * [BUGFIX] Use uint64 for counters in v3 xml #70 * [BUGFIX] Fix Gauge type for large gauges #90 Signed-off-by: Ben Kochie <superq@gmail.com>
* [CHANGE] Replace legacy common/log with promlog #85 * [FEATURE] Add current recursive clients metric #74 * [FEATURE] Add zone serial numbers as metrics #91 * [FEATURE] Add TLS and basic authentication #94 * [BUGFIX] Use uint64 for counters in v3 xml #70 * [BUGFIX] Fix Gauge type for large gauges #90 Signed-off-by: Ben Kochie <superq@gmail.com>
This patch provides zone serial numbers as metrics: