Skip to content

Commit

Permalink
Add opamp and remote tap
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronoff97 committed Mar 21, 2024
1 parent b4599e8 commit 61a6b3f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 24 deletions.
2 changes: 1 addition & 1 deletion arrow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV CGO_ENABLED=0

# Note the version MUST MATCH otelarrowcol-build.yaml
# Future optimization - curl the release.
RUN go install go.opentelemetry.io/collector/cmd/builder@v0.94.1
RUN go install go.opentelemetry.io/collector/cmd/builder@v0.96.0

# This command generates main.go, go.mod but does not update deps.
RUN builder --config=/otelarrowcol/otelcolarrow-build.yaml
Expand Down
49 changes: 26 additions & 23 deletions arrow/otelcolarrow-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,44 +37,44 @@ dist:
# description: My Organization telemetry collector
#
name: otelarrowcol
version: 0.17.0
version: 0.18.0
description: ServiceNow Cloud Observability OpenTelemetry Protocol with Apache Arrow gateway collector

# This indicates which version of the core collector components as
# well as the builder version. At the time of this writing, we
# recommend using at least the current release.
otelcol_version: 0.94.1
otelcol_version: 0.96.0

# We recommend building in both the OTLP exporter and the OTel-Arrow
# exporter.
exporters:
# This is the core OpenTelemetry Protocol with Apache Arrow exporter,
# recommended for exporting to ServiceNow Cloud Observability using
# either OTel-Arrow or standard OTLP over gRPC.
- gomod: github.com/open-telemetry/otel-arrow/collector v0.17.0
- gomod: github.com/open-telemetry/otel-arrow/collector v0.18.0
import: github.com/open-telemetry/otel-arrow/collector/exporter/otelarrowexporter

# The following components may be useful for debugging.

# As an alternate to the OTel-Arrow exporter, we recommend building
# with the core OTLP exporter as a fallback. These components use
# compatible configuration.
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.94.1
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.96.0

# In case OTLP/HTTP export is required, as opposed to the two
# gRPC options above.
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.94.1
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.96.0

# In case you want to record an OTLP telemetry session to a JSON
# file, we recommend this additional utility. See also the
# obfuscation processor, listed below. The OTel-Arrow provides
# offline tools that can help explain poor compression performance
# using inputs generated by this exporter, for example.
- gomod: github.com/open-telemetry/otel-arrow/collector v0.17.0
- gomod: github.com/open-telemetry/otel-arrow/collector v0.18.0
import: github.com/open-telemetry/otel-arrow/collector/exporter/fileexporter

# The debug exporter, useful for printing telemetry to the console.
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.94.1
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.96.0

receivers:
# The OTel-Arrow receiver supports multiple protocols including OTel-Arrow, OTLP gRPC,
Expand All @@ -84,28 +84,28 @@ receivers:
# This enables other OTel Collectors or experimental SDKs that support OTel-Arrow to
# send to this collector, such as this one for the OTel-Go Trace SDK:
# https://github.com/lightstep/otel-launcher-go/tree/main/lightstep/sdk/trace/exporters/otlp/otelcol
- gomod: github.com/open-telemetry/otel-arrow/collector v0.17.0
- gomod: github.com/open-telemetry/otel-arrow/collector v0.18.0
import: github.com/open-telemetry/otel-arrow/collector/receiver/otelarrowreceiver

# To support receiving OTLP/HTTP.
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.94.1
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.96.0

# You may wish to enable other receivers from the Collector-Contrib repository or
# elsewhere. Here are some that might be useful:
#
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.94.0
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.94.0
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver v0.94.0
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver v0.94.0
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.96.0
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.96.0
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver v0.96.0
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver v0.96.0

processors:
# We recommend use of the OTel-Arrow concurrent batch processor.
- gomod: github.com/open-telemetry/otel-arrow/collector v0.17.0
- gomod: github.com/open-telemetry/otel-arrow/collector v0.18.0
import: github.com/open-telemetry/otel-arrow/collector/processor/concurrentbatchprocessor

# We recommend building with the follow processor for obfuscation, in case you want to
# record telemetry sessions for offline analysis.
- gomod: github.com/open-telemetry/otel-arrow/collector v0.17.0
- gomod: github.com/open-telemetry/otel-arrow/collector v0.18.0
import: github.com/open-telemetry/otel-arrow/collector/processor/obfuscationprocessor

# We emphatically DO NOT recommend use of the memory limiter
Expand All @@ -115,26 +115,29 @@ processors:
# - go.opentelemetry.io/collector/processor/batchprocessor.

# These Collector-Contrib components are referred to in the charts in this package.
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.94.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.94.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.94.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor v0.94.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.96.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.96.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.96.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor v0.96.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/remotetapprocessor v0.96.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.96.0

# ServiceNow does not at this time recommend the probabilistic sampler processor,
# because it leads to undercounting of spans. We will update this recommendation
# when the sampler is fully supported.
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.94.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.96.0

# You may be interested in other transform components in the
# Collector-Contrib repository. Here are some that might be useful:
#
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.94.0
# - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.96.0

extensions:
# You may be interested in externsions from the Collector-Contrib repository. None are
# required. Here are some that might be useful:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.94.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.94.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.96.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.96.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/opampextension v0.96.0

# We do not support use of headersetterextension to apply the lightstep-access-token
# header on a per-request basis. Contact ServiceNow if you are interested in
Expand Down

0 comments on commit 61a6b3f

Please sign in to comment.