Update prometheus/promhttp/http.go
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com> Signed-off-by: Arianna Vespri <36129782+vesari@users.noreply.github.com>
This commit is contained in:
parent
ab34546864
commit
717d3d342b
|
@ -389,7 +389,7 @@ type HandlerOpts struct {
|
|||
|
||||
type OpenMetricsOptions struct {
|
||||
Enable bool
|
||||
// If true, EnableUnit adds the unit to the encoder options, ultimately allowing the
|
||||
// EnableUnit adds the unit to the encoder options, ultimately allowing the
|
||||
// unit into the final output, provided that either EnableOpenMetrics or
|
||||
// OpenMetricsOptions.Enable is also true.
|
||||
EnableUnit bool
|
||||
|
|
Loading…
Reference in New Issue