forked from SumoLogic/sumologic-otel-collector
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.otelcol-builder.yaml
216 lines (194 loc) · 17.6 KB
/
.otelcol-builder.yaml
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
dist:
name: otelcol-sumo
description: Sumo Logic OpenTelemetry Collector distribution
# the module name for the new distribution, following Go mod conventions. Optional, but recommended.
module: github.com/SumoLogic/sumologic-otel-collector
# the OpenTelemetry Collector version to use as base for the distribution.
otelcol_version: 0.71.0
# the path to write the output (sources and binary).
output_path: ./cmd
exporters:
# Exporters with non-upstreamed changes:
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/exporter/sumologicexporter v0.0.0-00010101000000-000000000000"
path: ./../pkg/exporter/sumologicexporter
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/exporter/syslogexporter v0.0.0-00010101000000-000000000000"
path: ./../pkg/exporter/syslogexporter
# Upstream exporters:
# Since include-code was removed we need to manually add all core components that we want to include:
# https://github.com/open-telemetry/opentelemetry-collector/pull/4616
- gomod: "go.opentelemetry.io/collector/exporter/loggingexporter v0.71.0"
- gomod: "go.opentelemetry.io/collector/exporter/otlpexporter v0.71.0"
- gomod: "go.opentelemetry.io/collector/exporter/otlphttpexporter v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/carbonexporter v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter v0.71.0"
processors:
# Processors with non-upstreamed changes:
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/processor/cascadingfilterprocessor v0.0.0-00010101000000-000000000000"
path: ./../pkg/processor/cascadingfilterprocessor
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sprocessor v0.0.0-00010101000000-000000000000"
path: ./../pkg/processor/k8sprocessor
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/processor/sourceprocessor v0.0.0-00010101000000-000000000000"
path: ./../pkg/processor/sourceprocessor
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/processor/sumologicschemaprocessor v0.0.0-00010101000000-000000000000"
path: ./../pkg/processor/sumologicschemaprocessor
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/processor/sumologicsyslogprocessor v0.0.0-00010101000000-000000000000"
path: ./../pkg/processor/sumologicsyslogprocessor
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/processor/metricfrequencyprocessor v0.0.0-00010101000000-000000000000"
path: ./../pkg/processor/metricfrequencyprocessor
# Upstream processors:
# Since include-code was removed we need to manually add all core components that we want to include:
# https://github.com/open-telemetry/opentelemetry-collector/pull/4616
- gomod: "go.opentelemetry.io/collector/processor/batchprocessor v0.71.0"
- gomod: "go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatorateprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/logstransformprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricsgenerationprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/redactionprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/schemaprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanmetricsprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.71.0"
receivers:
# Receivers with non-upstreamed changes:
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/receiver/telegrafreceiver v0.0.0-00010101000000-000000000000"
path: ./../pkg/receiver/telegrafreceiver
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/receiver/rawk8seventsreceiver v0.0.0-00010101000000-000000000000"
path: ./../pkg/receiver/rawk8seventsreceiver
# Upstream receivers:
# Since include-code was removed we need to manually add all core components that we want to include:
# https://github.com/open-telemetry/opentelemetry-collector/pull/4616
- gomod: "go.opentelemetry.io/collector/receiver/otlpreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/activedirectorydsreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachereceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/bigipreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/cloudfoundryreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/collectdreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/couchdbreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/elasticsearchreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/expvarreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudpubsubreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/httpcheckreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/influxdbreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/journaldreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8seventsreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nsxtreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/rabbitmqreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/riakreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/saphanareceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sapmreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/signalfxreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/simpleprometheusreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/skywalkingreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/snmpreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlserverreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/udplogreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowseventlogreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver v0.71.0"
extensions:
# Processors with non-upstreamed changes:
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/extension/sumologicextension v0.0.0-00010101000000-000000000000"
path: ./../pkg/extension/sumologicextension
- gomod: "github.com/SumoLogic/sumologic-otel-collector/pkg/extension/opampextension v0.0.0-00010101000000-000000000000"
path: ./../pkg/extension/opampextension
# Since include-code was removed we need to manually add all core components that we want to include:
# https://github.com/open-telemetry/opentelemetry-collector/pull/4616
- gomod: "go.opentelemetry.io/collector/extension/zpagesextension v0.71.0"
- gomod: "go.opentelemetry.io/collector/extension/ballastextension v0.71.0"
# Upstream extensions:
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/asapauthextension v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/awsproxy v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/headerssetterextension v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/httpforwarder v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/jaegerremotesampling v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/dockerobserver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecstaskobserver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/hostobserver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/k8sobserver v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/sigv4authextension v0.71.0"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage v0.71.0"
import: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage"
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage v0.71.0"
import: "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/dbstorage"
# Replacement paths are relative to the output_path (location of source files)
replaces:
# This is needed because of:
# failed to download go modules: exit status 1.
# Output: "go: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/[email protected] requires
# github.com/open-telemetry/opentelemetry-collector-contrib/internal/[email protected]: invalid version: unknown revision 000000000000"
- github.com/open-telemetry/opentelemetry-collector-contrib/internal/stanza => github.com/open-telemetry/opentelemetry-collector-contrib/internal/stanza v0.71.0
# ----------------------------------------------------------------------------
# Needed for telegrafreceiver
- github.com/influxdata/telegraf => github.com/SumoLogic/telegraf v1.24.3-sumo-3
# Some of the upstream packages have this replaced
# See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16423
- github.com/mattn/go-ieproxy => github.com/mattn/go-ieproxy v0.0.1
# This is to make sure we build the with the sumologicextension from the tree.
# The reason this is needed is that sumologicexporter depends on sumologicextension in its go.mod.
# We add a dependency in the builder config in this file but only for a particular (placeholder)
# version which gets then translated into a replace in go.mod file.
# This does not replace the version that sumologicexporter depends on.
- github.com/SumoLogic/sumologic-otel-collector/pkg/extension/sumologicextension => ../../pkg/extension/sumologicextension
- github.com/SumoLogic/sumologic-otel-collector/pkg/extension/opampextension => ../../pkg/configprovider/opampextension
- github.com/SumoLogic/sumologic-otel-collector/pkg/configprovider/globprovider => ../../pkg/configprovider/globprovider