Discover Good First Issues for open-telemetry/opentelemetry.io
-
[Page feedback]: otelcol_version removed? Created: 2024-11-21T05:27:14Z
URL
https://opentelemetry.io/docs/collector/custom-collector/
Description
I’m trying to build a custom collector using
ocb
on0.114.0
:Following the docs, my manifest is:
dist: name: otelcol-dev description: Basic OTel Collector distribution for Developers output_path: ./otelcol-dev otelcol_version: 0.114.0 receivers: - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver v0.114.0 processors: - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor v0.114.0 github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.114.0 github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.114.0 github.com/open-telemetry/opentelemetry-collector-contrib/processor/logdedupprocessor v0.114.0 exporters: - gomod: github.com/open-telemetry/opentelemetry-collector/exporter/otlphttp v0.114.0
The Error
2024-11-21T15:24:32.701+1000 INFO internal/command.go:97 OpenTelemetry Collector Builder {"version": "0.114.0"}
I receive an error:
ocb.exe --config manifest.yaml 2024-11-21T15:23:55.397+1000 INFO internal/command.go:97 OpenTelemetry Collector Builder {"version": "0.114.0"} 2024-11-21T15:23:55.398+1000 INFO internal/command.go:102 Using config file {"path": "manifest.yaml"} Error: invalid configuration: `otelcol_version` has been removed. To build with an older Collector API, use an older (aligned) builder version instead
Comments: 2
Unassigned -
[.NET] remove the pattern of "using var meterProvider" Created: 2024-03-01T10:40:02Z
It’d be good to get a follow up PR to remove the pattern of “using var meterProvider”, and prefer an explicit dispose().. We have a lot of people copying this to helper functions, and accidently causing it to get disposed() when helper method exits!
Separate PR to not further delay this PR
Originally posted by @cijothomas in https://github.com/open-telemetry/opentelemetry.io/pull/4016#discussion_r1504577727
Comments: 13
Unassigned -
Link to sampler and propagation config in OTel operator docs Created: 2023-02-15T15:04:21Z
https://github.com/open-telemetry/opentelemetry-operator/pull/1442 implements a gap in configuration docs for the otel operator. We should link to these in the operator docs.
Alternatively, we can work to pull these docs into the operator docs on the website.
Comments: 2
Unassigned