Feature Request: Allow opentelemetry transform processor config to be passed from ops-agent config to the generated opentelemetry collector config #1686
Labels
customer-case-attached
Issues that have a customer case number attached to them for Googlers to investigate
feature
New feature or request
Describe the feature
Currently only exclude_metric transforms are supported via the current documentation. There is no way to have opentelemetry transform processor config as part of the ops-agent config file (
/etc/google-cloud-ops-agent/config.yaml
) and have that configuration passed to the generated opentelemetry config that is used by the google-cloud-ops-agent-opentelemetry-collector service. The transform processor is supported by the google-cloud-ops-agent-opentelemetry-collector as you can edit the generated/run/google-cloud-ops-agent-opentelemetry-collector/otel.yaml
, add a transform processor and restart the google-cloud-ops-agent-opentelemetry-collector and the metric transforms will work. There is also testdata in this repo that uses the metric transform processor (https://github.com/GoogleCloudPlatform/ops-agent/blob/master/confgenerator/testdata/goldens/combined-receiver_otlp/golden/linux/otel.yaml#L469), so i'm hoping this is just a small change to allow the ops-agent config to be passed to the generated opentelemetry-collector config.Adding this feature should be enough to also close out #1682 as that issue seems to also be looking for a metric transform via:
The text was updated successfully, but these errors were encountered: