-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from stickeeuk/feat/delta-to-cumulative
feat: Delta to Cumulative
- Loading branch information
Showing
6 changed files
with
171 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# FROM otel/opentelemetry-collector-contrib:0.113.0-amd64 | ||
FROM golang:1.22-bookworm | ||
|
||
COPY config.yaml /etc/otelcol-contrib/config.yaml | ||
# COPY --chmod=755 otelcontribcol_linux_amd64 /otelcol-contrib | ||
COPY --chmod=755 otelcontribcol_linux_amd64_stickee /otelcontribcol | ||
|
||
# ENTRYPOINT ["/otelcol-contrib"] | ||
ENTRYPOINT ["/otelcontribcol"] | ||
CMD ["--config", "/etc/otelcol-contrib/config.yaml"] | ||
|
||
EXPOSE 4317/tcp 4318/tcp 55678/tcp 55679/tcp |
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,73 @@ | ||
# To limit exposure to denial of service attacks, change the host in endpoints below from 0.0.0.0 to a specific network interface. | ||
# See https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/security-best-practices.md#safeguards-against-denial-of-service-attacks | ||
|
||
extensions: | ||
health_check: | ||
pprof: | ||
endpoint: 0.0.0.0:1777 | ||
zpages: | ||
endpoint: 0.0.0.0:55679 | ||
|
||
receivers: | ||
otlp: | ||
protocols: | ||
grpc: | ||
endpoint: 0.0.0.0:4317 | ||
http: | ||
endpoint: 0.0.0.0:4318 | ||
|
||
opencensus: | ||
endpoint: 0.0.0.0:55678 | ||
|
||
# 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: | ||
endpoint: 0.0.0.0:14250 | ||
thrift_binary: | ||
endpoint: 0.0.0.0:6832 | ||
thrift_compact: | ||
endpoint: 0.0.0.0:6831 | ||
thrift_http: | ||
endpoint: 0.0.0.0:14268 | ||
|
||
zipkin: | ||
endpoint: 0.0.0.0:9411 | ||
|
||
processors: | ||
batch: | ||
aggregation: | ||
interval: 15s | ||
|
||
exporters: | ||
debug: | ||
verbosity: detailed | ||
|
||
service: | ||
|
||
pipelines: | ||
|
||
traces: | ||
receivers: [otlp, opencensus, jaeger, zipkin] | ||
processors: [batch] | ||
exporters: [debug] | ||
|
||
metrics: | ||
receivers: [otlp, opencensus, prometheus] | ||
processors: [batch, aggregation] | ||
exporters: [debug] | ||
|
||
logs: | ||
receivers: [otlp] | ||
processors: [batch] | ||
exporters: [debug] | ||
|
||
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
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