forked from open-telemetry/opentelemetry-collector-releases
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add otelcol-contrib release (open-telemetry#43)
* Add otelcol-contrib release Fixes open-telemetry#37 * Increase timeout for goreleaser * Remove arches with problems building contrib Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
- Loading branch information
1 parent
2e63d6d
commit 5ddd7d9
Showing
17 changed files
with
350 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
extensions: | ||
health_check: | ||
pprof: | ||
endpoint: 0.0.0.0:1777 | ||
zpages: | ||
endpoint: 0.0.0.0:55679 | ||
|
||
receivers: | ||
otlp: | ||
protocols: | ||
grpc: | ||
http: | ||
|
||
opencensus: | ||
|
||
# Collect own metrics | ||
prometheus: | ||
config: | ||
scrape_configs: | ||
- job_name: 'otel-collector' | ||
scrape_interval: 10s | ||
static_configs: | ||
- targets: ['0.0.0.0:8888'] | ||
|
||
jaeger: | ||
protocols: | ||
grpc: | ||
thrift_binary: | ||
thrift_compact: | ||
thrift_http: | ||
|
||
zipkin: | ||
|
||
processors: | ||
batch: | ||
|
||
exporters: | ||
logging: | ||
logLevel: debug | ||
|
||
service: | ||
|
||
pipelines: | ||
|
||
traces: | ||
receivers: [otlp, opencensus, jaeger, zipkin] | ||
processors: [batch] | ||
exporters: [logging] | ||
|
||
metrics: | ||
receivers: [otlp, opencensus, prometheus] | ||
processors: [batch] | ||
exporters: [logging] | ||
|
||
extensions: [health_check, pprof, zpages] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM alpine:3.13 as certs | ||
RUN apk --update add ca-certificates | ||
|
||
FROM alpine:3.13 AS otelcol-contrib | ||
COPY otelcol-contrib /otelcol-contrib | ||
# Note that this shouldn't be necessary, but in some cases the file seems to be | ||
# copied with the execute bit lost (see #1317) | ||
RUN chmod 755 /otelcol-contrib | ||
|
||
FROM scratch | ||
|
||
ARG USER_UID=10001 | ||
USER ${USER_UID} | ||
|
||
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||
COPY --from=otelcol-contrib /otelcol-contrib / | ||
COPY configs/otelcol-contrib.yaml /etc/otelcol-contrib/config.yaml | ||
ENTRYPOINT ["/otelcol-contrib"] | ||
CMD ["--config", "/etc/otelcol-contrib/config.yaml"] | ||
EXPOSE 4317 55678 55679 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONTAINER_BASE_NAME=otel/opentelemetry-collector-contrib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
dist: | ||
module: github.com/open-telemetry/opentelemetry-collector-releases/contrib | ||
name: otelcol-contrib | ||
description: OpenTelemetry Collector Contrib | ||
version: 0.41.0 | ||
output_path: ./_build | ||
otelcol_version: 0.41.0 | ||
|
||
extensions: | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/asapauthextension v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/awsproxy v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/fluentbitextension v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/httpforwarder v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/hostobserver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/k8sobserver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage v0.41.0 | ||
import: github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage | ||
|
||
exporters: | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsprometheusremotewriteexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/carbonexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/dynatraceexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/f5cloudexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/honeycombexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/humioexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/influxdbexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerthrifthttpexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/logzioexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/newrelicexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opencensusexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sapmexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/skywalkingexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/stackdriverexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tanzuobservabilityexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tencentcloudlogserviceexporter v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/zipkinexporter v0.41.0 | ||
|
||
processors: | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatorateprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricsgenerationprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanmetricsprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.41.0 | ||
|
||
receivers: | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/collectdreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/influxdbreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/journaldreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusexecreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sapmreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/signalfxreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/simpleprometheusreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/udplogreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.41.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver v0.41.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Systemd environment file for the otelcol-contrib service | ||
|
||
# Command-line options for the otelcol-contrib service. | ||
# Run `/usr/bin/otelcol-contrib --help` to see all available options. | ||
OTELCOL_OPTIONS="--config=/etc/otelcol-contrib/config.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Unit] | ||
Description=OpenTelemetry Collector Contrib | ||
After=network.target | ||
|
||
[Service] | ||
EnvironmentFile=/etc/otelcol-contrib/otelcol-contrib.conf | ||
ExecStart=/usr/local/bin/otelcol-contrib $OTELCOL_OPTIONS | ||
KillMode=mixed | ||
Restart=on-failure | ||
Type=simple | ||
User=otelcol-contrib | ||
Group=otelcol-contrib | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
|
||
# Copyright The OpenTelemetry Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
if command -v systemctl >/dev/null 2>&1; then | ||
systemctl enable otelcol-contrib.service | ||
if [ -f /etc/otelcol-contrib/config.yaml ]; then | ||
systemctl start otelcol-contrib.service | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
# Copyright The OpenTelemetry Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
getent passwd otelcol-contrib >/dev/null || useradd --system --user-group --no-create-home --shell /sbin/nologin otelcol-contrib |
Oops, something went wrong.