Skip to content

Commit

Permalink
update header
Browse files Browse the repository at this point in the history
  • Loading branch information
newly12 committed Mar 24, 2021
1 parent 3512e9d commit 307060b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions metricbeat/helper/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ import (
"github.com/elastic/beats/v7/metricbeat/mb"
)

const (
promTextHeader = `text/plain;version=0.0.4;q=0.5,*/*;q=0.1`
openmetricsHeader = `application/openmetrics-text; version=0.0.1,text/plain;version=0.0.4;q=0.5,*/*;q=0.1`
acceptHeader = promTextHeader
)
const acceptHeader = `text/plain;version=0.0.4;q=0.5,*/*;q=0.1`

// Prometheus helper retrieves prometheus formatted metrics
type Prometheus interface {
Expand Down

0 comments on commit 307060b

Please sign in to comment.