mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
5303e515af
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Build Prometheus for common architectures (0) (push) Waiting to run
CI / Build Prometheus for common architectures (1) (push) Waiting to run
CI / Build Prometheus for common architectures (2) (push) Waiting to run
CI / Build Prometheus for all architectures (0) (push) Waiting to run
CI / Build Prometheus for all architectures (1) (push) Waiting to run
CI / Build Prometheus for all architectures (10) (push) Waiting to run
CI / Build Prometheus for all architectures (11) (push) Waiting to run
CI / Build Prometheus for all architectures (2) (push) Waiting to run
CI / Build Prometheus for all architectures (3) (push) Waiting to run
CI / Build Prometheus for all architectures (4) (push) Waiting to run
CI / Build Prometheus for all architectures (5) (push) Waiting to run
CI / Build Prometheus for all architectures (6) (push) Waiting to run
CI / Build Prometheus for all architectures (7) (push) Waiting to run
CI / Build Prometheus for all architectures (8) (push) Waiting to run
CI / Build Prometheus for all architectures (9) (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
What Adds support for OTLP delta temporality to the OTLP endpoint. This is done by calling the deltatocumulative processor from the OpenTelemetry collector during OTLP conversion. Why Delta conversion is a naturally stateful process, which requires careful request routing when operated inside a collector. Prometheus is already stateful and doing the conversion in-server reduces the operational burden on the ingest architecture by only having one stateful component. How deltatocumulative is a OTel collector component that works as follows: * pmetric.Metrics come from a receiver or in this case from the HTTP client * It operates as an in-place update loop: * for each sample, if not delta, leave unmodified * if delta, do: * state += sample, where state is the in-memory sum of all previous samples * sample = state, sample value is now cumulative * this is supported for sums (counters), gauges, histograms (old histograms) and exponential histograms (native histograms) If a series receives no new samples for 5m, its state is removed from memory Performance Delta performance is a stateful operation and the OTel code is not highly optimized yet, e.g. it locks the entire processor for each request. Nonetheless, care has been taken to mitigate those effects: delta conversion is behind a feature flag. If disabled, no conversion code is ever invoked if enabled, conversion is not invoked if request not actually contains delta samples. This leads to no measureable performance difference between default-cumulative to convert-cumulative (only cumulative, feature on/off) Signed-off-by: sh0rez <me@shorez.de>
227 lines
10 KiB
Modula-2
227 lines
10 KiB
Modula-2
module github.com/prometheus/prometheus
|
|
|
|
go 1.22.7
|
|
|
|
toolchain go1.23.4
|
|
|
|
require (
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.16.0
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.8.0
|
|
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.7.0
|
|
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v4 v4.3.0
|
|
github.com/Code-Hex/go-generics-cache v1.5.1
|
|
github.com/KimMachineGun/automemlimit v0.6.1
|
|
github.com/alecthomas/kingpin/v2 v2.4.0
|
|
github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b
|
|
github.com/aws/aws-sdk-go v1.55.5
|
|
github.com/bboreham/go-loser v0.0.0-20230920113527-fcc2c21820a3
|
|
github.com/cespare/xxhash/v2 v2.3.0
|
|
github.com/dennwc/varint v1.0.0
|
|
github.com/digitalocean/godo v1.132.0
|
|
github.com/docker/docker v27.4.1+incompatible
|
|
github.com/edsrzf/mmap-go v1.2.0
|
|
github.com/envoyproxy/go-control-plane v0.13.1
|
|
github.com/envoyproxy/protoc-gen-validate v1.1.0
|
|
github.com/facette/natsort v0.0.0-20181210072756-2cd4dd1e2dcb
|
|
github.com/fsnotify/fsnotify v1.8.0
|
|
github.com/go-openapi/strfmt v0.23.0
|
|
github.com/go-zookeeper/zk v1.0.4
|
|
github.com/gogo/protobuf v1.3.2
|
|
github.com/golang/snappy v0.0.4
|
|
github.com/google/go-cmp v0.6.0
|
|
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gophercloud/gophercloud v1.14.1
|
|
github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc
|
|
github.com/grpc-ecosystem/grpc-gateway v1.16.0
|
|
github.com/hashicorp/consul/api v1.30.0
|
|
github.com/hashicorp/nomad/api v0.0.0-20241218080744-e3ac00f30eec
|
|
github.com/hetznercloud/hcloud-go/v2 v2.17.1
|
|
github.com/ionos-cloud/sdk-go/v6 v6.3.0
|
|
github.com/json-iterator/go v1.1.12
|
|
github.com/klauspost/compress v1.17.11
|
|
github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b
|
|
github.com/linode/linodego v1.44.0
|
|
github.com/miekg/dns v1.1.62
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
|
|
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
|
|
github.com/nsf/jsondiff v0.0.0-20230430225905-43f6cf3098c1
|
|
github.com/oklog/run v1.1.0
|
|
github.com/oklog/ulid v1.3.1
|
|
github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor v0.116.0
|
|
github.com/ovh/go-ovh v1.6.0
|
|
github.com/prometheus/alertmanager v0.27.0
|
|
github.com/prometheus/client_golang v1.20.5
|
|
github.com/prometheus/client_model v0.6.1
|
|
github.com/prometheus/common v0.61.0
|
|
github.com/prometheus/common/assets v0.2.0
|
|
github.com/prometheus/exporter-toolkit v0.13.2
|
|
github.com/prometheus/sigv4 v0.1.1
|
|
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30
|
|
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c
|
|
github.com/stretchr/testify v1.10.0
|
|
github.com/vultr/govultr/v2 v2.17.2
|
|
go.opentelemetry.io/collector/component v0.116.0
|
|
go.opentelemetry.io/collector/consumer v1.22.0
|
|
go.opentelemetry.io/collector/pdata v1.22.0
|
|
go.opentelemetry.io/collector/processor v0.116.0
|
|
go.opentelemetry.io/collector/semconv v0.116.0
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.58.0
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0
|
|
go.opentelemetry.io/otel v1.33.0
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.33.0
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.33.0
|
|
go.opentelemetry.io/otel/metric v1.33.0
|
|
go.opentelemetry.io/otel/sdk v1.33.0
|
|
go.opentelemetry.io/otel/trace v1.33.0
|
|
go.uber.org/atomic v1.11.0
|
|
go.uber.org/automaxprocs v1.6.0
|
|
go.uber.org/goleak v1.3.0
|
|
go.uber.org/multierr v1.11.0
|
|
golang.org/x/oauth2 v0.25.0
|
|
golang.org/x/sync v0.10.0
|
|
golang.org/x/sys v0.28.0
|
|
golang.org/x/text v0.21.0
|
|
golang.org/x/tools v0.28.0
|
|
google.golang.org/api v0.216.0
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20241216192217-9240e9c98484
|
|
google.golang.org/grpc v1.69.4
|
|
google.golang.org/protobuf v1.36.1
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
k8s.io/api v0.31.3
|
|
k8s.io/apimachinery v0.31.3
|
|
k8s.io/client-go v0.31.3
|
|
k8s.io/klog v1.0.0
|
|
k8s.io/klog/v2 v2.130.1
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go/auth v0.13.0 // indirect
|
|
cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect
|
|
cloud.google.com/go/compute/metadata v0.6.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
|
github.com/armon/go-metrics v0.4.1 // indirect
|
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
|
github.com/cilium/ebpf v0.11.0 // indirect
|
|
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 // indirect
|
|
github.com/containerd/cgroups/v3 v3.0.3 // indirect
|
|
github.com/containerd/log v0.1.0 // indirect
|
|
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/distribution/reference v0.5.0 // indirect
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
|
|
github.com/fatih/color v1.16.0 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
|
|
github.com/ghodss/yaml v1.0.0 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-openapi/analysis v0.22.2 // indirect
|
|
github.com/go-openapi/errors v0.22.0 // indirect
|
|
github.com/go-openapi/jsonpointer v0.21.0 // indirect
|
|
github.com/go-openapi/jsonreference v0.20.4 // indirect
|
|
github.com/go-openapi/loads v0.21.5 // indirect
|
|
github.com/go-openapi/spec v0.20.14 // indirect
|
|
github.com/go-openapi/swag v0.23.0 // indirect
|
|
github.com/go-openapi/validate v0.23.0 // indirect
|
|
github.com/go-resty/resty/v2 v2.16.2 // indirect
|
|
github.com/godbus/dbus/v5 v5.0.4 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
|
|
github.com/golang/glog v1.2.2 // indirect
|
|
github.com/golang/protobuf v1.5.4 // indirect
|
|
github.com/google/gnostic-models v0.6.8 // indirect
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
|
github.com/google/s2a-go v0.1.8 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
|
|
github.com/gorilla/websocket v1.5.0 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
|
|
github.com/hashicorp/cronexpr v1.1.2 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/hashicorp/go-hclog v1.6.3 // indirect
|
|
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
|
|
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
|
|
github.com/hashicorp/golang-lru v0.6.0 // indirect
|
|
github.com/hashicorp/serf v0.10.1 // indirect
|
|
github.com/imdario/mergo v0.3.6 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/jpillora/backoff v1.0.0 // indirect
|
|
github.com/julienschmidt/httprouter v1.3.0 // indirect
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mdlayher/socket v0.4.1 // indirect
|
|
github.com/mdlayher/vsock v1.2.1 // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/moby/docker-image-spec v1.3.1 // indirect
|
|
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/morikuni/aec v1.0.0 // indirect
|
|
github.com/open-telemetry/opentelemetry-collector-contrib/internal/exp/metrics v0.116.0 // indirect
|
|
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil v0.116.0 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.2 // indirect
|
|
github.com/opencontainers/runtime-spec v1.0.2 // indirect
|
|
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/prometheus/procfs v0.15.1 // indirect
|
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/stretchr/objx v0.5.2 // indirect
|
|
github.com/x448/float16 v0.8.4 // indirect
|
|
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
|
|
go.mongodb.org/mongo-driver v1.14.0 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
|
|
go.opentelemetry.io/collector/config/configtelemetry v0.116.0 // indirect
|
|
go.opentelemetry.io/collector/pipeline v0.116.0 // indirect
|
|
go.opentelemetry.io/proto/otlp v1.4.0 // indirect
|
|
go.uber.org/zap v1.27.0 // indirect
|
|
golang.org/x/crypto v0.31.0 // indirect
|
|
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a // indirect
|
|
golang.org/x/mod v0.22.0 // indirect
|
|
golang.org/x/net v0.33.0 // indirect
|
|
golang.org/x/term v0.27.0 // indirect
|
|
golang.org/x/time v0.9.0 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20250102185135-69823020774d // indirect
|
|
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
gotest.tools/v3 v3.0.3 // indirect
|
|
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
|
|
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
|
|
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
|
|
sigs.k8s.io/yaml v1.4.0 // indirect
|
|
)
|
|
|
|
// Exclude linodego v1.0.0 as it is no longer published on github.
|
|
exclude github.com/linode/linodego v1.0.0
|
|
|
|
// Exclude grpc v1.30.0 because of breaking changes. See #7621.
|
|
exclude (
|
|
github.com/grpc-ecosystem/grpc-gateway v1.14.7
|
|
google.golang.org/api v0.30.0
|
|
)
|
|
|
|
// Pin until https://github.com/fsnotify/fsnotify/issues/656 is resolved.
|
|
replace github.com/fsnotify/fsnotify v1.8.0 => github.com/fsnotify/fsnotify v1.7.0
|