Skip to content
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

[chore][mdatagen] Use MustNewType for metadata.Type #31038

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Feb 5, 2024

Description:

Follow up to open-telemetry/opentelemetry-collector/pull/9414, adds the same changes in mdatagen regarding validation of component.Types.

On this PR the validation logic and templating is a bit more complex because of subcomponents. I will add these changes back on core once this PR is merged.

Link to tracking Issue: open-telemetry/opentelemetry-collector/issues/9208

@mx-psi mx-psi merged commit 8ae1539 into open-telemetry:main Feb 6, 2024
142 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 6, 2024
mx-psi added a commit to open-telemetry/opentelemetry-collector that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/mdatagen mdatagen command connector/count connector/datadog connector/exceptions connector/failover connector/routing connector/servicegraph connector/spanmetrics exporter/alertmanager exporter/alibabacloudlogservice Alibaba components exporter/awscloudwatchlogs awscloudwatchlogs exporter exporter/awsemf awsemf exporter exporter/awskinesis exporter/awss3 exporter/awsxray exporter/azuredataexplorer exporter/azuremonitor exporter/carbon exporter/cassandra exporter/clickhouse exporter/coralogix exporter/datadog Datadog components exporter/dataset exporter/dynatrace exporter/elasticsearch exporter/f5cloud F5 exporter exporter/file exporter/googlecloud exporter/googlecloudpubsub exporter/googlemanagedprometheus Google Managed Prometheus exporter exporter/honeycombmarker exporter/influxdb exporter/instana exporter/kafka exporter/kinetica exporter/loadbalancing exporter/logicmonitor exporter/logzio exporter/loki Loki Exporter exporter/mezmo exporter/opencensus exporter/opensearch exporter/otelarrow exporter/prometheus exporter/prometheusremotewrite exporter/pulsar exporter/sapm exporter/sentry exporter/signalfx exporter/skywalking exporter/splunkhec exporter/sumologic exporter/syslog exporter/tencentcloudlogservice exporter/zipkin extension/asapauth extension/awsproxy extension/basicauth extension/bearertokenauth extension/encoding extension/headerssetter extension/healthcheck Health Check Extension extension/httpforwarder extension/jaegerremotesampling extension/oauth2clientauth extension/observer extension/oidcauth extension/opamp extension/pprof extension/remotetap extension/sigv4auth extension/solarwindsapmsettings extension/storage extension/sumologic processor/attributes Attributes processor processor/cumulativetodelta Cumulative To Delta processor processor/datadog processor/deltatocumulative processor/deltatorate Delta To Rate processor processor/filter Filter processor processor/groupbyattrs Group By Attributes processor processor/groupbytrace Group By Trace processor processor/interval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants