Skip to content

Commit

Permalink
Merge branch 'open-telemetry:main' into SC-20424-Otel-Contrib-Branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AkhigbeEromo authored Nov 19, 2024
2 parents 1b3e26f + 2a9e103 commit f7e6e59
Show file tree
Hide file tree
Showing 1,788 changed files with 35,659 additions and 31,227 deletions.
27 changes: 0 additions & 27 deletions .chloggen/fix_container_time_parsing.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .chloggen/resourcedetectionprocessor-profiles.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .chloggen/splunkenterprisereceiver-search-artifact-cache.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .chloggen/stanza-sync-log-emitter.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ examples/demo/ @open-telemetry/collector-cont
exporter/alertmanagerexporter/ @open-telemetry/collector-contrib-approvers @jpkrohling @sokoide @mcube8
exporter/alibabacloudlogserviceexporter/ @open-telemetry/collector-contrib-approvers @shabicheng @kongluoxing @qiansheng91
exporter/awscloudwatchlogsexporter/ @open-telemetry/collector-contrib-approvers @boostchicken @bryan-aguilar @rapphil
exporter/awsemfexporter/ @open-telemetry/collector-contrib-approvers @Aneurysm9 @shaochengwang @mxiamxia @bryan-aguilar
exporter/awsemfexporter/ @open-telemetry/collector-contrib-approvers @Aneurysm9 @mxiamxia @bryan-aguilar
exporter/awskinesisexporter/ @open-telemetry/collector-contrib-approvers @Aneurysm9 @MovieStoreGuy
exporter/awss3exporter/ @open-telemetry/collector-contrib-approvers @atoulme @pdelewski
exporter/awsxrayexporter/ @open-telemetry/collector-contrib-approvers @wangzlei @srprash
exporter/azuredataexplorerexporter/ @open-telemetry/collector-contrib-approvers @asaharn @ag-ramachandran
exporter/azuredataexplorerexporter/ @open-telemetry/collector-contrib-approvers @ag-ramachandran
exporter/azuremonitorexporter/ @open-telemetry/collector-contrib-approvers @pcwiese
exporter/carbonexporter/ @open-telemetry/collector-contrib-approvers @aboguszewski-sumo
exporter/cassandraexporter/ @open-telemetry/collector-contrib-approvers @atoulme @emreyalvac
Expand All @@ -63,7 +63,7 @@ exporter/googlemanagedprometheusexporter/ @open-telemetry/collector-cont
exporter/honeycombmarkerexporter/ @open-telemetry/collector-contrib-approvers @TylerHelmuth @fchikwekwe
exporter/influxdbexporter/ @open-telemetry/collector-contrib-approvers @jacobmarble
exporter/kafkaexporter/ @open-telemetry/collector-contrib-approvers @pavolloffay @MovieStoreGuy
exporter/kineticaexporter/ @open-telemetry/collector-contrib-approvers @am-kinetica @TylerHelmuth
exporter/kineticaexporter/ @open-telemetry/collector-contrib-approvers @TylerHelmuth
exporter/loadbalancingexporter/ @open-telemetry/collector-contrib-approvers @jpkrohling
exporter/logicmonitorexporter/ @open-telemetry/collector-contrib-approvers @bogdandrutu @khyatigandhi6 @avadhut123pisal
exporter/logzioexporter/ @open-telemetry/collector-contrib-approvers @yotamloe
Expand All @@ -81,7 +81,7 @@ exporter/signalfxexporter/ @open-telemetry/collector-cont
exporter/splunkhecexporter/ @open-telemetry/collector-contrib-approvers @atoulme @dmitryax
exporter/sumologicexporter/ @open-telemetry/collector-contrib-approvers @rnishtala-sumo @chan-tim-sumo
exporter/syslogexporter/ @open-telemetry/collector-contrib-approvers @kasia-kujawa @rnishtala-sumo @andrzej-stencel
exporter/tencentcloudlogserviceexporter/ @open-telemetry/collector-contrib-approvers @wgliang @yiyang5055
exporter/tencentcloudlogserviceexporter/ @open-telemetry/collector-contrib-approvers @wgliang
exporter/zipkinexporter/ @open-telemetry/collector-contrib-approvers @MovieStoreGuy @andrzej-stencel @crobert-1

extension/ackextension/ @open-telemetry/collector-contrib-approvers @zpzhuSplunk @splunkericl
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/scripts/add-labels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ COMMON_LABELS["needs-triage"]="needs triage"
COMMON_LABELS["os:mac"]="os:mac"
COMMON_LABELS["os:windows"]="os:windows"
COMMON_LABELS["waiting-for-author"]="waiting for author"
COMMON_LABELS["waiting-for-code-owners"]="waiting-for-code-owners"
COMMON_LABELS["bug"]="bug"
COMMON_LABELS["priority:p0"]="priority:p0"
COMMON_LABELS["priority:p1"]="priority:p1"
COMMON_LABELS["priority:p2"]="priority:p2"
COMMON_LABELS["priority:p3"]="priority:p3"
COMMON_LABELS["stale"]="Stale"
COMMON_LABELS["never-stale"]="never stale"

LABELS=$(echo "${COMMENT}" | sed -E 's%^/label%%')

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts/ping-codeowners-issues.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ if [[ -z "${OWNERS}" ]]; then
exit 0
fi

gh issue comment "${ISSUE}" --body "Pinging code owners for ${COMPONENT}: ${OWNERS}. See [Adding Labels via Comments](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#adding-labels-via-comments) if you do not have permissions to add labels yourself."
gh issue comment "${ISSUE}" --body "Pinging code owners for ${COMPONENT}: ${OWNERS}. See [Adding Labels via Comments](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#adding-labels-via-comments) if you do not have permissions to add labels yourself. For example, comment '/label priority:p2 -needs-triaged' to set the priority and remove the needs-triaged label."
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ linters:
- unused
- usestdlibvars
- wastedassign
- whitespace

issues:
# Excluding configuration per-path, per-linter, per-text and per-source
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ If you are looking for user-facing changes, check out [CHANGELOG.md](./CHANGELOG

<!-- next version -->

## v0.114.0

### 🛑 Breaking changes 🛑

- `pkg/stanza`: Changed signature of `emit.Callback` function in `pkg/stanza/fileconsumer/emit` package by introducing `emit.Token` struct that encapsulates the token's body and attributes. (#36260)

### 💡 Enhancements 💡

- `pkg/datadog`: Expose an API `TranslatorFromConfig` that creates a new metrics translator (#36300)
This is only code refactor and has no user-facing impact

## v0.113.0

### 🛑 Breaking changes 🛑
Expand Down
56 changes: 55 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,60 @@ If you are looking for developer-facing changes, check out [CHANGELOG-API.md](./

<!-- next version -->

## v0.114.0

### 🛑 Breaking changes 🛑

- `datadogexporter`: Stop prefixing `http_server_duration`, `http_server_request_size` and `http_server_response_size` with `otelcol` (#36265)
These metrics can be from SDKs rather than collector. Stop prefixing them to be consistent with https://opentelemetry.io/docs/collector/internal-telemetry/#lists-of-internal-metrics
- `otelarrowreceiver`: New admission control metrics are consistent across Arrow and OTLP data paths. (#36334)
`otelcol_otelarrow_admission_in_flight_bytes` new, replaces `otelcol_otel_arrow_receiver_in_flight_bytes`
`otelcol_otelarrow_admission_waiting_bytes`: new, describes waiting requests
`otelcol_otel_arrow_receiver_in_flight_items`: removed
`otelcol_otel_arrow_receiver_in_flight_requests`: removed


### 🚩 Deprecations 🚩

- `exporter/prometheusremotewrite`: Deprecate configuration option `export_created metric` (#35003)
Disable the exporter.prometheusremotewriteexporter.deprecateCreatedMetric feature gate to temporarily re-enable the created metric.

### 💡 Enhancements 💡

- `datadogreceiver`: Add json handling for the `api/v2/series` endpoint in the datadogreceiver (#36079)
- `googlemanagedprometheus`: Add `CumulativeNormalization` config option to allow users to configure to specify whether to report normalized or un-normalized points. Defaults to normalized. (#36357)
- `elasticsearchexporter`: Translate `k8s.*.name` resource attributes in ECS mode (#36233)
Translate `k8s.job.name`, `k8s.cronjob.name`, `k8s.statefulset.name`, `k8s.replicaset.name`, `k8s.daemonset.name`, `k8s.container.name` to `kubernetes.*.name`. Translate `k8s.cluster.name` to `orchestrator.cluster.name`.
- `encodingextension`: Add support for profiles signal to encodingextension (#36008)
- `k8sattributesprocessor`: Add support for profiles signal (#35983)
- `cmd/githubgen`: Adds a flag to skip checking GitHub organization membership for CODEOWNERS (#36263)
- `container`: Set non root group permissions for container image (#35179)
- `k8sclusterreceiver`: Add support for limiting observed resources to a specific namespace. (#9401)
This change allows to make use of this receiver with `Roles`/`RoleBindings`, as opposed to giving the collector cluster-wide read access.
- `opampextension`: Add content type to opamp extension when reporting EffectiveConfig (#36327)
Add EffectiveConfig.ConfigMap.ConfigMap[*].ContentType as "text/yaml" to the opamp extension when reporting EffectiveConfig.
- `otelarrowreceiver`: Admission control improvements (LIFO); admission.waiter_limit is deprecated, replaced with admission.waiting_limit_mib. (#36074)
- `otelarrowreceiver`: Add a new LIFO-based bounded queue. (#36074)
- `connector/otlpjson`: Throw error on invalid otlp payload. (#35738, #35739)
- `prometheusremotewriteexporter`: reduce allocation when serializing protobuf (#35185)
- `resourcedetectionprocessor`: Introduce support for Profiles signal type. (#35980)
- `routingconnector`: Add ability to route by metric context (#36236)
- `routingconnector`: Add ability to route by span context (#36276)
- `processor/spanprocessor`: Add a new configuration option to keep the original span name when extracting attributes from the span name. (#36120)
- `splunkenterprisereceiver`: Add new metrics for Splunk Enterprise dispatch artifacts caches (#36181)

### 🧰 Bug fixes 🧰

- `pkg/stanza`: Ensure that time parsing happens before entry is sent to downstream operators (#36213)
- `prometheusexporter`: Fixes a race condition between the exporter start and shutdown functions. (#36139)
- `processor/k8sattributes`: Block when starting until the metadata have been synced, to fix that some data couldn't be associated with metadata when the agent was just started. (#32556)
- `exporter/loadbalancing`: Shutdown exporters during collector shutdown. This fixes a memory leak. (#36024)
- `pkg/ottl`: Respect the `depth` option when flattening slices using `flatten` (#36161)
The `depth` option is also now required to be at least `1`.
- `prometheusexporter`: reject metrics whose types have changed, use pre-existing descriptions when help strings change (#28617)
- `pkg/stanza`: Synchronous handling of entries passed from the log emitter to the receiver adapter (#35453)
- `prometheusreceiver`: Fix prometheus receiver to support static scrape config with Target Allocator (#36062)

## v0.113.0

### 🛑 Breaking changes 🛑
Expand Down Expand Up @@ -368,7 +422,7 @@ arrow.waiter_limit -> admission.waiter_limit
https://github.com/open-telemetry/opentelemetry-collector/pull/6250

- `spanmetricsconnector`: Improve consistency between metrics generated by spanmetricsconnector. Added traces.span.metrics as default namespace (#33227, #32818)
Default namespace for the generated metrics is traces.span.metrics now. | The deprecated metrics are: calls, duration and events. | The feature flag connector.spanmetrics.legacyLatencyMetricNames was added to revert the behavior.
Default namespace for the generated metrics is traces.span.metrics now. | The deprecated metrics are: calls, duration and events. | The feature flag connector.spanmetrics.legacyMetricNames was added to revert the behavior.
- `servicegraphconnector`: Fix histogram metrics miss unit (#34511)
All metrics will remove the suffix `_seconds`. It will not introduce breaking change if users use | `prometheusexporter` or `prometheusremotewriteexporter` to exporter metrics in pipeline. | In some cases, like using `clickhouseexporter`(save data in native OTLP format), it will be a breaking change. | Users can use `transformprocessor` to add back this suffix.
- `gitproviderreceiver`: The Git Provider Receiver has been renamed to GitHub Receiver. (#34731)
Expand Down
Loading

0 comments on commit f7e6e59

Please sign in to comment.