Skip to content

Add additional workloads to usage_metadata#2109

Open
TravisStark wants to merge 1 commit intomainfrom
tjstark/usage-metadata
Open

Add additional workloads to usage_metadata#2109
TravisStark wants to merge 1 commit intomainfrom
tjstark/usage-metadata

Conversation

@TravisStark
Copy link
Copy Markdown
Contributor

@TravisStark TravisStark commented May 4, 2026

Description of the issue

Adding support for additional usage_metadata entries to help indicate which observability solutions are active.

Previously, only 7 values were supported and unsupported values were silently dropped by metadata.IsSupported().

Description of changes

Adds new workload values to the agent's supported metadata set:

  • jvm_ec2, tomcat_ec2, nvidia_gpu_ec2 (Variants of existing workloads)
  • log_collection, windows_events, xray_traces, otel_traces
  • application_signals, statsd, collectd, prometheus
  • otel_metrics, emf, process_monitoring

Existing values (jvm, tomcat, nvidia_gpu) are kept for backward compatibility.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

  • Extension integration test verifying feature flags propagate to User-Agent header
  • All existing tests pass
  • Verified end-to-end on EC2 instance: translator accepts all 18 values and writes them to OTEL config

Requirements

  1. Run make fmt and make fmt-sh
  2. Run make lint

@TravisStark TravisStark requested a review from a team as a code owner May 4, 2026 23:32
@TravisStark TravisStark added the ready for testing Indicates this PR is ready for integration tests to run label May 5, 2026
@TravisStark TravisStark force-pushed the tjstark/usage-metadata branch from 7a157ef to 494cef3 Compare May 5, 2026 13:55
@TravisStark TravisStark changed the title feat(agenthealth): Add remaining Cinch workloads to usage_metadata Add remaining workloads to usage_metadata May 5, 2026
@TravisStark TravisStark force-pushed the tjstark/usage-metadata branch from 494cef3 to 4d31811 Compare May 5, 2026 13:56
@TravisStark TravisStark changed the title Add remaining workloads to usage_metadata Add additional workloads to usage_metadata May 5, 2026
@TravisStark TravisStark force-pushed the tjstark/usage-metadata branch 2 times, most recently from 89cea40 to 67c688c Compare May 5, 2026 14:00
@TravisStark TravisStark force-pushed the tjstark/usage-metadata branch from 67c688c to 504a355 Compare May 5, 2026 14:44
{input: "obs_kafka_consumer", want: true},
{input: "obs_kafka_producer", want: true},
{input: "obs_nvidia_gpu", want: true},
{input: "obs_ec2_health", want: true},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can we have these alphabetical?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for testing Indicates this PR is ready for integration tests to run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants