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:
Arianna Vespri 2024-05-09 15:14:02 +02:00 committed by GitHub
parent ab34546864
commit 717d3d342b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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