From a0d8f0fd70be8e2d96905ad94330f1224ba77f45 Mon Sep 17 00:00:00 2001 From: Joshua MacDonald Date: Fri, 4 Oct 2024 11:36:13 -0700 Subject: [PATCH] Update to 111; revise recommended configuration for new component versions --- arrow/config/gateway-collector.yaml | 6 +--- arrow/otelcolarrow-build.yaml | 50 ++++++++++++++--------------- charts/collector-k8s/Chart.yaml | 4 +-- charts/kube-otel-stack/Chart.yaml | 4 +-- charts/otel-cloud-stack/Chart.yaml | 4 +-- 5 files changed, 32 insertions(+), 36 deletions(-) diff --git a/arrow/config/gateway-collector.yaml b/arrow/config/gateway-collector.yaml index f1d2018..049c63b 100644 --- a/arrow/config/gateway-collector.yaml +++ b/arrow/config/gateway-collector.yaml @@ -61,10 +61,6 @@ processors: send_batch_max_size: 1500 send_batch_size: 1000 timeout: 1s - - # Use max_in_flight_size_mib=64 in a 2 cpu configuration; - # Use max_in_flight_size_mib=1024 in a 16 cpu configuration. - max_in_flight_size_mib: 64 exporters: otelarrow: @@ -109,7 +105,7 @@ exporters: # A stream lifetime limit is required to avoid spurious # disconnect error messages in the collector logs. - max_stream_lifetime: 4m + max_stream_lifetime: 30s service: pipelines: diff --git a/arrow/otelcolarrow-build.yaml b/arrow/otelcolarrow-build.yaml index 7bd2779..db50b66 100644 --- a/arrow/otelcolarrow-build.yaml +++ b/arrow/otelcolarrow-build.yaml @@ -37,13 +37,13 @@ dist: # description: My Organization telemetry collector # name: otelarrowcol - version: 0.26.0 + version: 0.27.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.107.0 + otelcol_version: 0.111.0 # We recommend building in both the OTLP exporter and the OTel-Arrow # exporter. @@ -51,18 +51,18 @@ 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/opentelemetry-collector-contrib/exporter/otelarrowexporter v0.107.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/otelarrowexporter v0.111.0 # 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. This component and the # OTel-Arrow exporter use compatible configuration. - - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.107.0 + - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.111.0 # In case OTLP/HTTP export is required, as opposed to the two # gRPC options above. - - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.107.0 + - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.111.0 # In case you want to record an OTLP telemetry session to a JSON # file, we recommend this additional utility. See also the @@ -72,7 +72,7 @@ exporters: - gomod: github.com/open-telemetry/otel-arrow/collector/exporter/fileexporter v0.25.0 # The debug exporter, useful for printing telemetry to the console. - - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.107.0 + - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.111.0 receivers: # The OTel-Arrow receiver supports multiple protocols including OTel-Arrow, OTLP gRPC, @@ -82,18 +82,18 @@ 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/opentelemetry-collector-contrib/receiver/otelarrowreceiver v0.107.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/otelarrowreceiver v0.111.0 # To support receiving OTLP/HTTP. - - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.107.0 + - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.111.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.107.0 - # - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.107.0 - # - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver v0.107.0 - # - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver v0.107.0 + # - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.111.0 + # - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.111.0 + # - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver v0.111.0 + # - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver v0.111.0 processors: # We recommend use of the OTel-Arrow concurrent batch processor. @@ -107,38 +107,38 @@ processors: # processor or the core batch processor, i.e., do not build with # either of: # - go.opentelemetry.io/collector/processor/memorylimiterprocessor. - # - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.107.0 + # - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.111.0 # These Collector-Contrib components are referred to in the charts in this package. - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.107.0 - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.107.0 - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.107.0 - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor v0.107.0 - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/remotetapprocessor v0.107.0 - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.107.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.111.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.111.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.111.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor v0.111.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/remotetapprocessor v0.111.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.111.0 # ServiceNow recommends the probabilistic sampler processor in order to support # probability sampling in the collector pipieline. This sampler component supports # OpenTelemetry sampling specifications that enable correctly adjusting counts, in # metrics derived from sampled spans. - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.107.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.111.0 # The tail sampling processor is included, by request. Please note that this component # does not provide the necessary information to correctly adjust counts in metrics derived # from sampled spans. - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.107.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.111.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.107.0 + # - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.111.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.107.0 - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.107.0 - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/opampextension v0.107.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.111.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.111.0 + - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/opampextension v0.111.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 diff --git a/charts/collector-k8s/Chart.yaml b/charts/collector-k8s/Chart.yaml index c586e1d..4e8ec10 100644 --- a/charts/collector-k8s/Chart.yaml +++ b/charts/collector-k8s/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: otelcollector description: Deprecated chart for using the OpenTelemetry Collector to scape static or dynamic metric targets. type: application -version: 0.4.0 -appVersion: 0.107.0 +version: 0.5.0 +appVersion: 0.111.0 deprecated: true dependencies: [] # cert manager must be manually installed because it has CRDs diff --git a/charts/kube-otel-stack/Chart.yaml b/charts/kube-otel-stack/Chart.yaml index 8fe7327..7e08199 100644 --- a/charts/kube-otel-stack/Chart.yaml +++ b/charts/kube-otel-stack/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: kube-otel-stack description: Chart for sending Kubernetes metrics to Lightstep using the OpenTelemetry Operator. type: application -version: 0.10.0 -appVersion: 0.107.0 +version: 0.11.0 +appVersion: 0.111.0 dependencies: # cert manager must be manually installed because it has CRDs # https://github.com/kubernetes-sigs/security-profiles-operator/issues/1062 diff --git a/charts/otel-cloud-stack/Chart.yaml b/charts/otel-cloud-stack/Chart.yaml index 595ab79..eec90eb 100644 --- a/charts/otel-cloud-stack/Chart.yaml +++ b/charts/otel-cloud-stack/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "0.9.0" +version: "0.10.0" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.31.0" +appVersion: "1.32.0"