forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Dependency Dashboard #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
odubajDT
pushed a commit
that referenced
this issue
Dec 17, 2024
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Generates simple histograms using telemetrygen <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing Test with a local otel collector with debug output ``` bin/telemetrygen metrics --metrics 5 --otlp-http --otlp-endpoint "localhost:4318" --metric-type Histogram --otlp-insecure ``` Output from debug Exporter: ``` Resource SchemaURL: https://opentelemetry.io/schemas/1.13.0 ScopeMetrics #0 ScopeMetrics SchemaURL: InstrumentationScope Metric #0 Descriptor: -> Name: gen -> Description: -> Unit: -> DataType: Histogram -> AggregationTemporality: Cumulative HistogramDataPoints #0 StartTimestamp: 2024-11-13 16:22:50.633365 +0000 UTC Timestamp: 2024-11-13 16:22:51.633367 +0000 UTC Count: 0 Sum: 0.000000 ExplicitBounds #0: 0.000000 ExplicitBounds #1: 1.000000 ExplicitBounds #2: 2.000000 ExplicitBounds #3: 3.000000 ExplicitBounds #4: 4.000000 Buckets #0, Count: 0 Buckets #1, Count: 0 Buckets #2, Count: 0 Buckets #3, Count: 0 Buckets #4, Count: 0 ResourceMetrics #1 Resource SchemaURL: https://opentelemetry.io/schemas/1.13.0 ScopeMetrics #0 ScopeMetrics SchemaURL: InstrumentationScope Metric #0 Descriptor: -> Name: gen -> Description: -> Unit: -> DataType: Histogram -> AggregationTemporality: Cumulative HistogramDataPoints #0 StartTimestamp: 2024-11-13 16:22:50.639942 +0000 UTC Timestamp: 2024-11-13 16:22:51.639942 +0000 UTC Count: 1 Sum: 1.000000 ExplicitBounds #0: 0.000000 ExplicitBounds #1: 1.000000 ExplicitBounds #2: 2.000000 ExplicitBounds #3: 3.000000 ExplicitBounds #4: 4.000000 Buckets #0, Count: 0 Buckets #1, Count: 1 Buckets #2, Count: 0 Buckets #3, Count: 0 Buckets #4, Count: 0 ResourceMetrics #2 Resource SchemaURL: https://opentelemetry.io/schemas/1.13.0 ScopeMetrics #0 ScopeMetrics SchemaURL: InstrumentationScope Metric #0 Descriptor: -> Name: gen -> Description: -> Unit: -> DataType: Histogram -> AggregationTemporality: Cumulative HistogramDataPoints #0 StartTimestamp: 2024-11-13 16:22:50.6404 +0000 UTC Timestamp: 2024-11-13 16:22:51.640401 +0000 UTC Count: 2 Sum: 4.000000 ExplicitBounds #0: 0.000000 ExplicitBounds #1: 1.000000 ExplicitBounds #2: 2.000000 ExplicitBounds #3: 3.000000 ExplicitBounds #4: 4.000000 Buckets #0, Count: 0 Buckets #1, Count: 1 Buckets #2, Count: 0 Buckets #3, Count: 1 Buckets #4, Count: 0 ResourceMetrics #3 Resource SchemaURL: https://opentelemetry.io/schemas/1.13.0 ScopeMetrics #0 ScopeMetrics SchemaURL: InstrumentationScope Metric #0 Descriptor: -> Name: gen -> Description: -> Unit: -> DataType: Histogram -> AggregationTemporality: Cumulative HistogramDataPoints #0 StartTimestamp: 2024-11-13 16:22:50.640729 +0000 UTC Timestamp: 2024-11-13 16:22:51.640729 +0000 UTC Count: 3 Sum: 3.000000 ExplicitBounds #0: 0.000000 ExplicitBounds #1: 1.000000 ExplicitBounds #2: 2.000000 ExplicitBounds #3: 3.000000 ExplicitBounds #4: 4.000000 Buckets #0, Count: 1 Buckets #1, Count: 1 Buckets #2, Count: 1 Buckets #3, Count: 0 Buckets #4, Count: 0 ResourceMetrics #4 Resource SchemaURL: https://opentelemetry.io/schemas/1.13.0 ScopeMetrics #0 ScopeMetrics SchemaURL: InstrumentationScope Metric #0 Descriptor: -> Name: gen -> Description: -> Unit: -> DataType: Histogram -> AggregationTemporality: Cumulative HistogramDataPoints #0 StartTimestamp: 2024-11-13 16:22:50.641073 +0000 UTC Timestamp: 2024-11-13 16:22:51.641073 +0000 UTC Count: 4 Sum: 12.000000 ExplicitBounds #0: 0.000000 ExplicitBounds #1: 1.000000 ExplicitBounds #2: 2.000000 ExplicitBounds #3: 3.000000 ExplicitBounds #4: 4.000000 Buckets #0, Count: 0 Buckets #1, Count: 0 Buckets #2, Count: 1 Buckets #3, Count: 2 Buckets #4, Count: 1 {"kind": "exporter", "data_type": "metrics", "name": "debug"} ``` <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> --------- Co-authored-by: Pablo Baeyens <[email protected]>
odubajDT
pushed a commit
that referenced
this issue
Jan 28, 2025
#### Description Vulnerability #1: GO-2025-3420 Sensitive headers incorrectly sent after cross-domain redirect in net/http More info: https://pkg.go.dev/vuln/GO-2025-3420 Standard library Found in: net/[email protected] Fixed in: net/[email protected] Example traces found: Error: #1: codeowners.go:212:55: githubgen.codeownersGenerator.getGithubMembers calls github.OrganizationsService.ListMembers, which eventually calls http.Client.Do Vulnerability #2: GO-[20](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13003223509/job/36265594395?pr=37492#step:6:21)25-3373 Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509 More info: https://pkg.go.dev/vuln/GO-2025-3373 Standard library Found in: crypto/x509@go1.[22](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13003223509/job/36265594395?pr=37492#step:6:23).8 Fixed in: crypto/[email protected] Example traces found: Related: open-telemetry/opentelemetry-collector#12197
odubajDT
pushed a commit
that referenced
this issue
Feb 28, 2025
…ry#38146) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR adds support for configuring metric temporality (delta or cumulative) in the telemetrygen tool. This allows users to generate metrics with different temporality types, which is particularly useful for testing different metric collection scenarios. ##### Changes - Added `temporalityType` flag for metrics pipeline that accepts values: `delta` or `cumulative` <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#38073 <!--Describe what testing was performed and which tests were added.--> #### Testing Testing was performed by setting up as simple collector with `otlp `receiver and `debug` exporter ##### Sum Datapoint ``` Resource SchemaURL: https://opentelemetry.io/schemas/1.13.0 Resource attributes: -> service.name: Str(telemetrygen) ScopeMetrics #0 ScopeMetrics SchemaURL: InstrumentationScope Metric #0 Descriptor: -> Name: gen -> Description: -> Unit: -> DataType: Histogram -> AggregationTemporality: Delta ``` ##### Histogram Datapoint ``` Count: 0 Sum: 3940.000000 ExplicitBounds #0: 0.000000 ExplicitBounds #1: 5.000000 ExplicitBounds #2: 10.000000 ExplicitBounds #3: 25.000000 ExplicitBounds #4: 50.000000 ExplicitBounds #5: 75.000000 ExplicitBounds #6: 100.000000 ExplicitBounds #7: 250.000000 ExplicitBounds #8: 500.000000 ExplicitBounds #9: 750.000000 ExplicitBounds #10: 1000.000000 ExplicitBounds #11: 2500.000000 ExplicitBounds #12: 5000.000000 ExplicitBounds #13: 7500.000000 ExplicitBounds #14: 10000.000000 Buckets #0, Count: 0 Buckets #1, Count: 0 Buckets #2, Count: 1 Buckets #3, Count: 0 Buckets #4, Count: 0 Buckets #5, Count: 0 Buckets #6, Count: 3 Buckets #7, Count: 4 Buckets #8, Count: 1 Buckets #9, Count: 1 Buckets #10, Count: 0 Buckets #11, Count: 0 Buckets #12, Count: 0 Buckets #13, Count: 0 Buckets #14, Count: 0 ``` - [x] Need to add tests for the config --------- Signed-off-by: Nikos Angelopoulos <[email protected]>
odubajDT
pushed a commit
that referenced
this issue
Mar 17, 2025
…-telemetry#38500) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Breaking change. Overhaul in document routing. New document routing logic: ``` Documents are statically or dynamically routed to the target index / data stream in the following order. The first routing mode that applies will be used. 1. "Static mode": Route to `logs_index` for log records, `metrics_index` for data points and `traces_index` for spans, if these configs are not empty respectively. [^3] 2. "Dynamic - Index attribute mode": Route to index name specified in `elasticsearch.index` attribute (precedence: log record / data point / span attribute > scope attribute > resource attribute) if the attribute exists. [^3] 3. "Dynamic - Data stream routing mode": Route to data stream constructed from `${data_stream.type}-${data_stream.dataset}-${data_stream.namespace}`, where `data_stream.type` is `logs` for log records, `metrics` for data points, and `traces` for spans, and is static. [^3] In a special case with `mapping::mode: bodymap`, `data_stream.type` field (valid values: `logs`, `metrics`) can be dynamically set from attributes. The resulting documents will contain the corresponding `data_stream.*` fields, see restrictions applied to [Data Stream Fields](https://www.elastic.co/guide/en/ecs/current/ecs-data_stream.html). 1. `data_stream.dataset` or `data_stream.namespace` in attributes (precedence: log record / data point / span attribute > scope attribute > resource attribute) 2. Otherwise, if scope name matches regex `/receiver/(\w*receiver)`, `data_stream.dataset` will be capture group #1 3. Otherwise, `data_stream.dataset` falls back to `generic` and `data_stream.namespace` falls back to `default`. ``` ``` In OTel mapping mode (`mapping::mode: otel`), there is special handling in addition to the above document routing rules in [Elasticsearch document routing](#elasticsearch-document-routing). The order to determine the routing mode is the same as [Elasticsearch document routing](#elasticsearch-document-routing). 1. "Static mode": Span events are separate documents routed to `logs_index` if non-empty. 2. "Dynamic - Index attribute mode": Span events are separate documents routed using attribute `elasticsearch.index` (precedence: span event attribute > scope attribute > resource attribute) if the attribute exists. 3. "Dynamic - Data stream routing mode": - For all documents, `data_stream.dataset` will always be appended with `.otel`. - A special case to (3)(1) in [Elasticsearch document routing](#elasticsearch-document-routing), span events are separate documents that have `data_stream.type: logs` and are routed using data stream attributes (precedence: span event attribute > scope attribute > resource attribute) ``` Effective changes: - Deprecate and make `{logs,metrics,traces}_dynamic_index` config no-op - Config validation error on `{logs,metrics,traces}_dynamic_index::enabled` and `{logs,metrics,traces}_index` set at the same time, as users who rely on dynamic index should not set `{logs,metrics,traces}_index`. - Remove `elasticsearch.index.{prefix,suffix}` handling. Replace it with `elasticsearch.index` handling that uses attribute value as index directly. Users rely on the previously supported `elasticsearch.index.prefix` and `elasticsearch.index.suffix` should migrate to a transform processor that sets `elasticsearch.index`. - Fix a bug where receiver-based routing overwrites data_stream.dataset. Should be released together with open-telemetry#38458 <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#38361 <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> --------- Co-authored-by: Andrzej Stencel <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
View this repository on the Mend.io Web Portal.
Config Migration Needed
Repository problems
These problems occurred while renovating this repository. View logs.
Awaiting Schedule
These updates are awaiting their schedule. Click on a checkbox to get an update now.
cloud.google.com/go/compute/metadata
,cloud.google.com/go/logging
,cloud.google.com/go/monitoring
,cloud.google.com/go/pubsub
,cloud.google.com/go/spanner
)github.com/Azure/azure-sdk-for-go/sdk/azcore
,github.com/Azure/azure-sdk-for-go/sdk/azidentity
,github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
,github.com/Azure/go-amqp
)github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
,github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector
,github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/googlemanagedprometheus
,github.com/GoogleCloudPlatform/opentelemetry-operations-go/extension/googleclientauthextension
)golang.org/x/crypto
,golang.org/x/net
,golang.org/x/oauth2
,golang.org/x/sync
,golang.org/x/sys
,golang.org/x/text
,golang.org/x/time
,golang.org/x/tools
,golang.org/x/vuln
)go.opentelemetry.io/collector/client
,go.opentelemetry.io/collector/cmd/builder
,go.opentelemetry.io/collector/cmd/mdatagen
,go.opentelemetry.io/collector/component
,go.opentelemetry.io/collector/component/componentstatus
,go.opentelemetry.io/collector/component/componenttest
,go.opentelemetry.io/collector/config/configauth
,go.opentelemetry.io/collector/config/configcompression
,go.opentelemetry.io/collector/config/configgrpc
,go.opentelemetry.io/collector/config/confighttp
,go.opentelemetry.io/collector/config/confignet
,go.opentelemetry.io/collector/config/configopaque
,go.opentelemetry.io/collector/config/configretry
,go.opentelemetry.io/collector/config/configtelemetry
,go.opentelemetry.io/collector/config/configtls
,go.opentelemetry.io/collector/confmap
,go.opentelemetry.io/collector/confmap/provider/envprovider
,go.opentelemetry.io/collector/confmap/provider/fileprovider
,go.opentelemetry.io/collector/connector
,go.opentelemetry.io/collector/connector/connectortest
,go.opentelemetry.io/collector/consumer
,go.opentelemetry.io/collector/consumer/consumererror
,go.opentelemetry.io/collector/consumer/consumerprofiles
,go.opentelemetry.io/collector/consumer/consumertest
,go.opentelemetry.io/collector/exporter
,go.opentelemetry.io/collector/exporter/debugexporter
,go.opentelemetry.io/collector/exporter/exportertest
,go.opentelemetry.io/collector/exporter/otlpexporter
,go.opentelemetry.io/collector/exporter/otlphttpexporter
,go.opentelemetry.io/collector/extension
,go.opentelemetry.io/collector/extension/auth
,go.opentelemetry.io/collector/extension/auth/authtest
,go.opentelemetry.io/collector/extension/experimental/storage
,go.opentelemetry.io/collector/extension/extensioncapabilities
,go.opentelemetry.io/collector/extension/extensiontest
,go.opentelemetry.io/collector/extension/zpagesextension
,go.opentelemetry.io/collector/featuregate
,go.opentelemetry.io/collector/filter
,go.opentelemetry.io/collector/otelcol
,go.opentelemetry.io/collector/otelcol/otelcoltest
,go.opentelemetry.io/collector/pdata
,go.opentelemetry.io/collector/pdata/pprofile
,go.opentelemetry.io/collector/pdata/testdata
,go.opentelemetry.io/collector/pipeline
,go.opentelemetry.io/collector/pipeline/pipelineprofiles
,go.opentelemetry.io/collector/processor
,go.opentelemetry.io/collector/processor/batchprocessor
,go.opentelemetry.io/collector/processor/memorylimiterprocessor
,go.opentelemetry.io/collector/processor/processorhelper/processorhelperprofiles
,go.opentelemetry.io/collector/processor/processorprofiles
,go.opentelemetry.io/collector/processor/processortest
,go.opentelemetry.io/collector/receiver
,go.opentelemetry.io/collector/receiver/otlpreceiver
,go.opentelemetry.io/collector/receiver/receiverprofiles
,go.opentelemetry.io/collector/receiver/receivertest
,go.opentelemetry.io/collector/scraper
,go.opentelemetry.io/collector/semconv
)alpine
,docker.io/library/nginx
,golang
,redis
)codecov/codecov-action
,helm/kind-action
)k8s.io/api
,k8s.io/apimachinery
,k8s.io/client-go
,k8s.io/kubelet
)go.opentelemetry.io/otel
,go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
,go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
,go.opentelemetry.io/otel/exporters/otlp/otlptrace
,go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
,go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
,go.opentelemetry.io/otel/exporters/prometheus
,go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
,go.opentelemetry.io/otel/log
,go.opentelemetry.io/otel/metric
,go.opentelemetry.io/otel/schema
,go.opentelemetry.io/otel/sdk
,go.opentelemetry.io/otel/sdk/log
,go.opentelemetry.io/otel/sdk/metric
,go.opentelemetry.io/otel/trace
)go.opentelemetry.io/collector/component
,go.opentelemetry.io/collector/extension
,go.opentelemetry.io/collector/processor
,go.opentelemetry.io/collector/receiver
)Edited/Blocked
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
github.com/aws/aws-msk-iam-sasl-signer-go
,github.com/aws/aws-sdk-go
,github.com/aws/aws-sdk-go-v2
,github.com/aws/aws-sdk-go-v2/config
,github.com/aws/aws-sdk-go-v2/credentials
,github.com/aws/aws-sdk-go-v2/feature/s3/manager
,github.com/aws/aws-sdk-go-v2/service/kinesis
,github.com/aws/aws-sdk-go-v2/service/s3
,github.com/aws/aws-sdk-go-v2/service/secretsmanager
,github.com/aws/aws-sdk-go-v2/service/servicediscovery
,github.com/aws/aws-sdk-go-v2/service/sts
,github.com/aws/smithy-go
)github.com/DataDog/agent-payload/v5
,github.com/DataDog/datadog-agent/comp/core/config
,github.com/DataDog/datadog-agent/comp/core/hostname/hostnameinterface
,github.com/DataDog/datadog-agent/comp/logs/agent/config
,github.com/DataDog/datadog-agent/comp/otelcol/logsagentpipeline
,github.com/DataDog/datadog-agent/comp/otelcol/logsagentpipeline/logsagentpipelineimpl
,github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/metricsclient
,github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/statsprocessor
,github.com/DataDog/datadog-agent/comp/trace/compression/impl-gzip
,github.com/DataDog/datadog-agent/pkg/config/model
,github.com/DataDog/datadog-agent/pkg/config/setup
,github.com/DataDog/datadog-agent/pkg/logs/sources
,github.com/DataDog/datadog-agent/pkg/obfuscate
,github.com/DataDog/datadog-agent/pkg/proto
,github.com/DataDog/datadog-agent/pkg/trace
,github.com/DataDog/datadog-agent/pkg/util/hostname/validate
,github.com/DataDog/datadog-api-client-go/v2
,github.com/DataDog/datadog-go/v5
,github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata
,github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes
,github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs
,github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics
,github.com/DataDog/opentelemetry-mapping-go/pkg/quantile
,github.com/DataDog/sketches-go
)go.opentelemetry.io/build-tools/checkfile
,go.opentelemetry.io/build-tools/chloggen
,go.opentelemetry.io/build-tools/crosslink
,go.opentelemetry.io/build-tools/issuegenerator
,go.opentelemetry.io/build-tools/multimod
)Warning
Renovate failed to look up the following dependencies:
Could not determine new digest for update (github-tags package codecov/codecov-action)
,Could not determine new digest for update (go package github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/exporter/logsagentexporter)
,Could not determine new digest for update (go package github.com/DataDog/datadog-agent/comp/otelcol/otlp/testutil)
.Files affected:
.github/workflows/build-and-test.yml
,exporter/datadogexporter/go.mod
,exporter/datadogexporter/integrationtest/go.mod
Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
otel/opentelemetry-collector
,otel/opentelemetry-collector-contrib
,prom/prometheus
)Ignored or Blocked
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
,go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
)Detected dependencies
Note
Detected dependencies section has been truncated
docker-compose
dockerfile
github-actions
gomod
The text was updated successfully, but these errors were encountered: