forked from grafana/alloy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdependency-replacements.yaml
More file actions
146 lines (118 loc) · 7.17 KB
/
dependency-replacements.yaml
File metadata and controls
146 lines (118 loc) · 7.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# NOTE: replace directives below must always be *temporary*.
#
# Adding a replace directive to change a module to a fork of a module will
# only be accepted when a PR or an issue upstream has been opened to accept the new
# change.
#
# Contributors are expected to work with upstream to make their changes
# acceptable, and remove the `replace` directive as soon as possible.
#
# If upstream is unresponsive, you should consider making a hard fork
# (i.e., creating a new Go module with the same source) or picking a different
# dependency.
# Modules define the target files where replaces will be applied.
# Each module specifies:
# - name: the name of the module
# - path: the path to the module's go.mod file
# - file_type: enum of what sort of generation pipeline will be used, currently the only available value is "mod"
# Replace directives define the replacements that will be applied to the defined modules
# Each replace directive specifies:
# - comment: a brief explanation as to why the replace is necessary. This must contain a link to an upstream issue or a PR that is required to complete in order to remove the replace directive
# - dependency: the dependency to be replaced
# - replacement: the replacement for the dependency
modules:
- name: alloy
path: go.mod
file_type: mod
- name: extension
path: extension/alloyengine/go.mod
file_type: mod
- name: collector
path: collector/builder-config.yaml
file_type: ocb
replaces:
- comment: Replace yaml.v2 with fork
dependency: gopkg.in/yaml.v2
replacement: github.com/rfratto/go-yaml v0.0.0-20211119180816-77389c3526dc
- comment: Replace directives from Loki — Azure SDK
dependency: github.com/Azure/azure-sdk-for-go
replacement: github.com/Azure/azure-sdk-for-go v68.0.0+incompatible
- comment: Replace directives from Loki — Azure storage blob fork
dependency: github.com/Azure/azure-storage-blob-go
replacement: github.com/MasslessParticle/azure-storage-blob-go v0.14.1-0.20240322194317-344980fda573
- comment: Use fork of gocql that has gokit logs and Prometheus metrics
dependency: github.com/gocql/gocql
replacement: github.com/grafana/gocql v0.0.0-20200605141915-ba5dc39ece85
- comment: Insist on the optimised version of grafana/regexp
dependency: github.com/grafana/regexp
replacement: github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc
- comment: Replace memberlist with Grafana fork which includes unmerged upstream fixes
dependency: github.com/hashicorp/memberlist
replacement: github.com/grafana/memberlist v0.3.1-0.20220714140823-09ffed8adbbe
- comment: Use forked syslog implementation by leodido for continued support
dependency: github.com/influxdata/go-syslog/v3
replacement: github.com/leodido/go-syslog/v4 v4.3.0
- comment: Replace thanos-io/objstore with Grafana fork
dependency: github.com/thanos-io/objstore
replacement: github.com/grafana/objstore v0.0.0-20250210100727-533688b5600d
- comment: >
TODO - remove forks when changes are merged upstream — non-singleton cadvisor
Fork branch: https://github.com/grafana/cadvisor/tree/grafana-v0.54.1-noglobals
dependency: github.com/google/cadvisor
replacement: github.com/grafana/cadvisor v0.0.0-20260204200106-865a22723970
- comment: TODO - this tracks exporter-package-v0.19.1 branch of grafana fork; remove once all patches are merged upstream
dependency: github.com/prometheus-community/postgres_exporter
replacement: github.com/grafana/postgres_exporter v0.0.0-20260225165717-9c2c77e3702a
- comment: TODO - this tracks exporter-package-v0.19.0 branch of grafana fork; remove once all patches are merged upstream
dependency: github.com/prometheus/mysqld_exporter
replacement: github.com/grafana/mysqld_exporter v0.0.0-20260319134024-e0461af8db16
- comment: >
TODO: replace node_exporter with custom fork for multi usage.
https://github.com/prometheus/node_exporter/pull/2812
dependency: github.com/prometheus/node_exporter
replacement: github.com/grafana/node_exporter v0.18.1-grafana-r01.0.20251024135609-318b01780c89
- comment: Use Grafana fork of smimesign
dependency: github.com/github/smimesign
replacement: github.com/grafana/smimesign v0.2.1-0.20220408144937-2a5adf3481d3
- comment: Replace OpenTelemetry OBI with Grafana fork
dependency: go.opentelemetry.io/obi
replacement: github.com/grafana/opentelemetry-ebpf-instrumentation v1.18.2
- comment: Replace OpenTelemetry eBPF profiler with Grafana fork
dependency: go.opentelemetry.io/ebpf-profiler
replacement: github.com/grafana/opentelemetry-ebpf-profiler v0.0.202602-0.20260326091923-bd31a19190b9
- comment: Update openshift/client-go to version compatible with structured-merge-diff v6
dependency: github.com/openshift/client-go
replacement: github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235
- comment: >
Do not remove until bug in walqueue backwards compatibility is resolved:
https://github.com/deneonet/benc/issues/13
dependency: github.com/deneonet/benc
replacement: github.com/deneonet/benc v1.1.7
- comment: Pin runc to v1.2.8 for compatibility with cadvisor requiring libcontainer/cgroups packages
dependency: github.com/opencontainers/runc
replacement: github.com/opencontainers/runc v1.2.8
- comment: Replace controller-runtime with pinned version
dependency: sigs.k8s.io/controller-runtime
replacement: sigs.k8s.io/controller-runtime v0.20.4
- comment: >
Fork to grafana repo to address issue with freebsd build tags.
This can be removed once https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/42645 is fixed
dependency: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filestatsreceiver
replacement: github.com/grafana/opentelemetry-collector-contrib/receiver/filestatsreceiver v0.0.0-20260126095124-0af81a9e8966
- comment: >
Fix sent_batch_duration_seconds measuring before the request was sent.
Fork branch: https://github.com/grafana/prometheus/tree/fix-sent-batch-duration-c7bc56cf6c8f
Remove when https://github.com/prometheus/prometheus/pull/18214 is merged and Prometheus is upgraded.
dependency: github.com/prometheus/prometheus
replacement: github.com/grafana/prometheus v1.8.2-0.20260313093229-87200e297b57
- comment: >
Fork hashicorp/vault to replace obsolete aws-sdk-go with aws-sdk-go-v2 (see: https://github.com/grafana/alloy/issues/2936).
Fork branch: https://github.com/DataDog/vault/tree/master.
Remove when https://github.com/hashicorp/vault/issues/29884 is resolved.
dependency: github.com/hashicorp/vault/api/auth/aws
replacement: github.com/DataDog/vault/api/auth/aws v0.0.0-20250716193101-44fb30472101
- comment: >
Work around DataDog split module ambiguity for pkg/util/system/socket by pinning util/system to the same rc stream used by current datadogexporter deps.
Remove when https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/45955 (and follow-up releases) fully align DataDog modules.
dependency: github.com/DataDog/datadog-agent/pkg/util/system
replacement: github.com/DataDog/datadog-agent/pkg/util/system v0.76.0-rc.2