chore: update otel dependencies

This commit is contained in:
Dominik Süß 2025-02-04 20:48:33 +01:00
commit 42e32eb57f
No known key found for this signature in database
GPG key ID: 9B1DDB4B45B86806
205 changed files with 6801 additions and 2648 deletions

View file

@ -15,7 +15,7 @@
package expfmt
import (
"fmt"
"errors"
"strings"
"github.com/prometheus/common/model"
@ -109,7 +109,7 @@ func NewOpenMetricsFormat(version string) (Format, error) {
if version == OpenMetricsVersion_1_0_0 {
return FmtOpenMetrics_1_0_0, nil
}
return FmtUnknown, fmt.Errorf("unknown open metrics version string")
return FmtUnknown, errors.New("unknown open metrics version string")
}
// WithEscapingScheme returns a copy of Format with the specified escaping