From 5e2a0f6aba21137500253bce07871e5acc85e900 Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Sat, 15 Apr 2023 18:31:12 -0700 Subject: [PATCH] [chore] use type and class to manage component metadata (#20264) * [chore] add name to metadata generated * change to use type and class * code review * migrate all components * fix test * migrate more metadata.yaml over --- cmd/mdatagen/loader.go | 4 +- cmd/mdatagen/loader_test.go | 2 +- cmd/mdatagen/main_test.go | 102 +++++++++++++++--- cmd/mdatagen/metadata.yaml | 2 +- cmd/mdatagen/metric-metadata.yaml | 4 +- cmd/mdatagen/statusdata.go | 2 +- cmd/mdatagen/templates/documentation.md.tmpl | 2 +- cmd/mdatagen/templates/metrics.go.tmpl | 6 +- cmd/mdatagen/templates/readme.md.tmpl | 2 +- cmd/mdatagen/templates/status.go.tmpl | 5 +- cmd/mdatagen/testdata/no_enabled.yaml | 2 +- cmd/mdatagen/testdata/no_metric_type.yaml | 2 +- cmd/mdatagen/testdata/no_value_type.yaml | 2 +- cmd/mdatagen/testdata/two_metric_types.yaml | 2 +- .../testdata/unknown_metric_attribute.yaml | 2 +- cmd/mdatagen/testdata/unknown_value_type.yaml | 2 +- cmd/mdatagen/testdata/unused_attribute.yaml | 2 +- .../internal/metadata/generated_status.go | 5 +- exporter/splunkhecexporter/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- exporter/sumologicexporter/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../tanzuobservabilityexporter/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- exporter/zipkinexporter/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/asapauthextension/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/basicauthextension/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../bearertokenauthextension/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../headerssetterextension/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/healthcheckextension/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/httpforwarder/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/jaegerremotesampling/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../oauth2clientauthextension/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../observer/dockerobserver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/observer/ecsobserver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../observer/ecstaskobserver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/observer/hostobserver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/observer/k8sobserver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/oidcauthextension/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- extension/pprofextension/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../cumulativetodeltaprocessor/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../resourcedetectionprocessor/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- processor/resourceprocessor/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- processor/transformprocessor/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- .../activedirectorydsreceiver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- receiver/aerospikereceiver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- receiver/apachereceiver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- receiver/azureeventhubreceiver/metadata.yaml | 4 +- receiver/bigipreceiver/metadata.yaml | 2 +- receiver/chronyreceiver/metadata.yaml | 2 +- receiver/couchdbreceiver/metadata.yaml | 2 +- receiver/dockerstatsreceiver/metadata.yaml | 2 +- receiver/elasticsearchreceiver/metadata.yaml | 2 +- receiver/expvarreceiver/metadata.yaml | 2 +- .../internal/metadata/generated_status.go | 5 +- receiver/filestatsreceiver/metadata.yaml | 4 +- receiver/flinkmetricsreceiver/metadata.yaml | 2 +- .../internal/metadata/generated_status.go | 5 +- receiver/haproxyreceiver/metadata.yaml | 4 +- .../internal/scraper/cpuscraper/metadata.yaml | 2 +- .../scraper/diskscraper/metadata.yaml | 2 +- .../scraper/filesystemscraper/metadata.yaml | 2 +- .../scraper/loadscraper/metadata.yaml | 2 +- .../scraper/memoryscraper/metadata.yaml | 2 +- .../scraper/networkscraper/metadata.yaml | 2 +- .../scraper/pagingscraper/metadata.yaml | 2 +- .../scraper/processesscraper/metadata.yaml | 2 +- .../scraper/processscraper/metadata.yaml | 2 +- .../internal/metadata/generated_status.go | 5 +- receiver/httpcheckreceiver/metadata.yaml | 4 +- receiver/iisreceiver/metadata.yaml | 2 +- receiver/kafkametricsreceiver/metadata.yaml | 2 +- receiver/kubeletstatsreceiver/metadata.yaml | 2 +- receiver/memcachedreceiver/metadata.yaml | 2 +- receiver/mongodbatlasreceiver/metadata.yaml | 2 +- receiver/mongodbreceiver/metadata.yaml | 2 +- receiver/mysqlreceiver/metadata.yaml | 2 +- receiver/nginxreceiver/metadata.yaml | 2 +- receiver/nsxtreceiver/metadata.yaml | 2 +- .../internal/metadata/generated_status.go | 5 +- receiver/oracledbreceiver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- receiver/otlpjsonfilereceiver/metadata.yaml | 4 +- .../internal/metadata/generated_status.go | 5 +- receiver/postgresqlreceiver/metadata.yaml | 4 +- receiver/rabbitmqreceiver/metadata.yaml | 2 +- receiver/redisreceiver/metadata.yaml | 2 +- receiver/riakreceiver/metadata.yaml | 2 +- receiver/saphanareceiver/metadata.yaml | 2 +- .../internal/metadata/generated_status.go | 5 +- receiver/signalfxreceiver/metadata.yaml | 4 +- receiver/snowflakereceiver/metadata.yaml | 2 +- .../internal/metadata/generated_status.go | 5 +- receiver/splunkhecreceiver/metadata.yaml | 4 +- receiver/sqlserverreceiver/metadata.yaml | 2 +- receiver/sshcheckreceiver/metadata.yaml | 2 +- receiver/vcenterreceiver/metadata.yaml | 2 +- .../internal/metadata/generated_status.go | 5 +- receiver/zipkinreceiver/metadata.yaml | 4 +- receiver/zookeeperreceiver/metadata.yaml | 2 +- 125 files changed, 366 insertions(+), 180 deletions(-) diff --git a/cmd/mdatagen/loader.go b/cmd/mdatagen/loader.go index b1a0de175117..d7802ca33d84 100644 --- a/cmd/mdatagen/loader.go +++ b/cmd/mdatagen/loader.go @@ -209,8 +209,8 @@ func (attr *attribute) Unmarshal(parser *confmap.Conf) error { } type metadata struct { - // Name of the component. - Name string `mapstructure:"name"` + // Type of the component. + Type string `mapstructure:"type"` // Status information for the component. Status Status `mapstructure:"status"` // SemConvVersion is a version number of OpenTelemetry semantic conventions applied to the scraped metrics. diff --git a/cmd/mdatagen/loader_test.go b/cmd/mdatagen/loader_test.go index c444ba873add..095a5760e727 100644 --- a/cmd/mdatagen/loader_test.go +++ b/cmd/mdatagen/loader_test.go @@ -31,7 +31,7 @@ func Test_loadMetadata(t *testing.T) { { name: "metadata.yaml", want: metadata{ - Name: "testreceiver", + Type: "testreceiver", SemConvVersion: "1.9.0", ResourceAttributes: map[attributeName]attribute{ "string.resource.attr": { diff --git a/cmd/mdatagen/main_test.go b/cmd/mdatagen/main_test.go index 953302e0c3b8..f57082aff464 100644 --- a/cmd/mdatagen/main_test.go +++ b/cmd/mdatagen/main_test.go @@ -37,7 +37,7 @@ func Test_runContents(t *testing.T) { { name: "valid metadata", yml: ` -name: metricreceiver +type: metricreceiver metrics: metric: enabled: true @@ -55,9 +55,9 @@ metrics: { name: "no metrics but status present", yml: ` -name: metricreceiver +type: metricreceiver status: - type: exporter + class: exporter stability: beta pipelines: [metrics, logs, traces] distributions: [contrib] @@ -136,11 +136,11 @@ func Test_run(t *testing.T) { func Test_inlineReplace(t *testing.T) { tests := []struct { - name string - markdown string - outputFile string - componentType string - warnings []string + name string + markdown string + outputFile string + componentClass string + warnings []string }{ { name: "readme with empty status", @@ -151,8 +151,8 @@ func Test_inlineReplace(t *testing.T) { Some info about a component `, - outputFile: "readme_with_status.md", - componentType: "receiver", + outputFile: "readme_with_status.md", + componentClass: "receiver", }, { name: "readme with status for extension", @@ -163,8 +163,8 @@ Some info about a component Some info about a component `, - outputFile: "readme_with_status_extension.md", - componentType: "extension", + outputFile: "readme_with_status_extension.md", + componentClass: "extension", }, { name: "readme with status table", @@ -177,8 +177,8 @@ Some info about a component Some info about a component `, - outputFile: "readme_with_status.md", - componentType: "receiver", + outputFile: "readme_with_status.md", + componentClass: "receiver", }, { name: "readme with no status", @@ -210,7 +210,7 @@ Some warning there. Stability: "beta", Pipelines: []string{"metrics"}, Distributions: []string{"contrib"}, - Type: tt.componentType, + Class: tt.componentClass, Warnings: tt.warnings, }, } @@ -234,6 +234,78 @@ Some warning there. } } +func TestGenerateStatusMetadata(t *testing.T) { + tests := []struct { + name string + output string + md metadata + expected string + }{ + { + name: "foo component with beta status", + md: metadata{ + Type: "foo", + Status: Status{ + Stability: "beta", + Pipelines: []string{"metrics"}, + Distributions: []string{"contrib"}, + Class: "receiver", + }, + }, + expected: `// Code generated by mdatagen. DO NOT EDIT. + +package metadata + +import ( + "go.opentelemetry.io/collector/component" +) + +const ( + Type = "foo" + Stability = component.StabilityLevelBeta +) +`, + }, + { + name: "foo component with alpha status", + md: metadata{ + Type: "foo", + Status: Status{ + Stability: "alpha", + Pipelines: []string{"metrics"}, + Distributions: []string{"contrib"}, + Class: "receiver", + }, + }, + expected: `// Code generated by mdatagen. DO NOT EDIT. + +package metadata + +import ( + "go.opentelemetry.io/collector/component" +) + +const ( + Type = "foo" + Stability = component.StabilityLevelAlpha +) +`, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + tmpdir := t.TempDir() + err := generateFile("templates/status.go.tmpl", + filepath.Join(tmpdir, "generated_status.go"), tt.md) + require.NoError(t, err) + actual, err := os.ReadFile(filepath.Join(tmpdir, "generated_status.go")) + require.NoError(t, err) + require.Equal(t, tt.expected, string(actual)) + }) + } +} + // TestGenerated verifies that the internal/metadata API is generated correctly. func TestGenerated(t *testing.T) { mb := md.NewMetricsBuilder(md.DefaultMetricsBuilderConfig(), receivertest.NewNopCreateSettings()) diff --git a/cmd/mdatagen/metadata.yaml b/cmd/mdatagen/metadata.yaml index 6ec457e6d748..75ece92463a0 100644 --- a/cmd/mdatagen/metadata.yaml +++ b/cmd/mdatagen/metadata.yaml @@ -1,6 +1,6 @@ # Sample metric metadata file with all available configurations. -name: testreceiver +type: testreceiver sem_conv_version: 1.9.0 diff --git a/cmd/mdatagen/metric-metadata.yaml b/cmd/mdatagen/metric-metadata.yaml index 318e6724136d..50558367fe6f 100644 --- a/cmd/mdatagen/metric-metadata.yaml +++ b/cmd/mdatagen/metric-metadata.yaml @@ -1,5 +1,5 @@ -# Required: name of the receiver. -name: +# Required: type of the receiver. +type: # Optional: OTel Semantic Conventions version that will be associated with the scraped metrics. # This attribute should be set for metrics compliant with OTel Semantic Conventions. diff --git a/cmd/mdatagen/statusdata.go b/cmd/mdatagen/statusdata.go index f7b3d9dbfe90..c5e7f1b60dc9 100644 --- a/cmd/mdatagen/statusdata.go +++ b/cmd/mdatagen/statusdata.go @@ -23,6 +23,6 @@ type Status struct { Stability string `mapstructure:"stability"` Pipelines []string `mapstructure:"pipelines"` Distributions []string `mapstructure:"distributions"` - Type string `mapstructure:"type"` + Class string `mapstructure:"class"` Warnings []string `mapstructure:"warnings"` } diff --git a/cmd/mdatagen/templates/documentation.md.tmpl b/cmd/mdatagen/templates/documentation.md.tmpl index 7a1d9f6ffb6a..7d0f20836def 100644 --- a/cmd/mdatagen/templates/documentation.md.tmpl +++ b/cmd/mdatagen/templates/documentation.md.tmpl @@ -36,7 +36,7 @@ [comment]: <> (Code generated by mdatagen. DO NOT EDIT.) -# {{ .Name }} +# {{ .Type }} ## Default Metrics diff --git a/cmd/mdatagen/templates/metrics.go.tmpl b/cmd/mdatagen/templates/metrics.go.tmpl index a4b3aa78c344..5843190aeea4 100644 --- a/cmd/mdatagen/templates/metrics.go.tmpl +++ b/cmd/mdatagen/templates/metrics.go.tmpl @@ -38,7 +38,7 @@ func (ms *MetricSettings) Unmarshal(parser *confmap.Conf) error { return nil } -// MetricsSettings provides settings for {{ .Name }} metrics. +// MetricsSettings provides settings for {{ .Type }} metrics. type MetricsSettings struct { {{- range $name, $metric := .Metrics }} {{ $name.Render }} MetricSettings `mapstructure:"{{ $name }}"` @@ -61,7 +61,7 @@ type ResourceAttributeSettings struct { } -// ResourceAttributesSettings provides settings for {{ .Name }} metrics. +// ResourceAttributesSettings provides settings for {{ .Type }} metrics. type ResourceAttributesSettings struct { {{- range $name, $attr := .ResourceAttributes }} {{ $name.Render }} ResourceAttributeSettings `mapstructure:"{{ $name }}"` @@ -326,7 +326,7 @@ func (mb *MetricsBuilder) EmitForResource(rmo ...ResourceMetricsOption) { {{- end }} rm.Resource().Attributes().EnsureCapacity(mb.resourceCapacity) ils := rm.ScopeMetrics().AppendEmpty() - ils.Scope().SetName("otelcol/{{ .Name }}") + ils.Scope().SetName("otelcol/{{ .Type }}") ils.Scope().SetVersion(mb.buildInfo.Version) ils.Metrics().EnsureCapacity(mb.metricsCapacity) {{- range $name, $metric := .Metrics }} diff --git a/cmd/mdatagen/templates/readme.md.tmpl b/cmd/mdatagen/templates/readme.md.tmpl index a8ca6dae6cc0..23e249a3deee 100644 --- a/cmd/mdatagen/templates/readme.md.tmpl +++ b/cmd/mdatagen/templates/readme.md.tmpl @@ -3,7 +3,7 @@ | Status | | | ------------------------ |-----------| | Stability | [{{ .Status.Stability }}] | -{{- if ne .Status.Type "extension" }} +{{- if ne .Status.Class "extension" }} | Supported pipeline types | {{ stringsJoin .Status.Pipelines ", " }} | {{- end }} | Distributions | [{{ stringsJoin .Status.Distributions "], [" }}] | diff --git a/cmd/mdatagen/templates/status.go.tmpl b/cmd/mdatagen/templates/status.go.tmpl index 0e58feecdab1..92cd0eda1077 100644 --- a/cmd/mdatagen/templates/status.go.tmpl +++ b/cmd/mdatagen/templates/status.go.tmpl @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevel{{ casesTitle .Status.Stability }} \ No newline at end of file +const ( + Type = "{{ .Type }}" + Stability = component.StabilityLevel{{ casesTitle .Status.Stability }} +) \ No newline at end of file diff --git a/cmd/mdatagen/testdata/no_enabled.yaml b/cmd/mdatagen/testdata/no_enabled.yaml index 5e377ab86b21..37d3a19d3372 100644 --- a/cmd/mdatagen/testdata/no_enabled.yaml +++ b/cmd/mdatagen/testdata/no_enabled.yaml @@ -1,4 +1,4 @@ -name: metricreceiver +type: metricreceiver metrics: system.cpu.time: description: Total CPU seconds broken down by different states. diff --git a/cmd/mdatagen/testdata/no_metric_type.yaml b/cmd/mdatagen/testdata/no_metric_type.yaml index 49cde5fefef4..82898937e3b1 100644 --- a/cmd/mdatagen/testdata/no_metric_type.yaml +++ b/cmd/mdatagen/testdata/no_metric_type.yaml @@ -1,4 +1,4 @@ -name: metricreceiver +type: metricreceiver metrics: system.cpu.time: enabled: true diff --git a/cmd/mdatagen/testdata/no_value_type.yaml b/cmd/mdatagen/testdata/no_value_type.yaml index 4af184d4e91a..2e5119cc43ca 100644 --- a/cmd/mdatagen/testdata/no_value_type.yaml +++ b/cmd/mdatagen/testdata/no_value_type.yaml @@ -1,4 +1,4 @@ -name: metricreceiver +type: metricreceiver metrics: system.cpu.time: enabled: true diff --git a/cmd/mdatagen/testdata/two_metric_types.yaml b/cmd/mdatagen/testdata/two_metric_types.yaml index 913bce9d660c..8ee5bd2851a2 100644 --- a/cmd/mdatagen/testdata/two_metric_types.yaml +++ b/cmd/mdatagen/testdata/two_metric_types.yaml @@ -1,4 +1,4 @@ -name: metricreceiver +type: metricreceiver metrics: system.cpu.time: enabled: true diff --git a/cmd/mdatagen/testdata/unknown_metric_attribute.yaml b/cmd/mdatagen/testdata/unknown_metric_attribute.yaml index 8c922b646257..c8c28b67d895 100644 --- a/cmd/mdatagen/testdata/unknown_metric_attribute.yaml +++ b/cmd/mdatagen/testdata/unknown_metric_attribute.yaml @@ -1,4 +1,4 @@ -name: metricreceiver +type: metricreceiver metrics: system.cpu.time: enabled: true diff --git a/cmd/mdatagen/testdata/unknown_value_type.yaml b/cmd/mdatagen/testdata/unknown_value_type.yaml index 08810f76779d..e62d0b5fc7ec 100644 --- a/cmd/mdatagen/testdata/unknown_value_type.yaml +++ b/cmd/mdatagen/testdata/unknown_value_type.yaml @@ -1,4 +1,4 @@ -name: metricreceiver +type: metricreceiver metrics: system.cpu.time: enabled: true diff --git a/cmd/mdatagen/testdata/unused_attribute.yaml b/cmd/mdatagen/testdata/unused_attribute.yaml index 4ca9e914befd..1e2d97130bc6 100644 --- a/cmd/mdatagen/testdata/unused_attribute.yaml +++ b/cmd/mdatagen/testdata/unused_attribute.yaml @@ -1,4 +1,4 @@ -name: metricreceiver +type: metricreceiver sem_conv_version: 1.9.0 diff --git a/exporter/splunkhecexporter/internal/metadata/generated_status.go b/exporter/splunkhecexporter/internal/metadata/generated_status.go index c53c077163cc..5e33428134b5 100644 --- a/exporter/splunkhecexporter/internal/metadata/generated_status.go +++ b/exporter/splunkhecexporter/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "splunkhecexporter" + Stability = component.StabilityLevelBeta +) diff --git a/exporter/splunkhecexporter/metadata.yaml b/exporter/splunkhecexporter/metadata.yaml index e653060819d0..a5dbb4225b8c 100644 --- a/exporter/splunkhecexporter/metadata.yaml +++ b/exporter/splunkhecexporter/metadata.yaml @@ -1,7 +1,7 @@ -name: splunkhecexporter +type: splunkhecexporter status: - type: exporter + class: exporter stability: beta pipelines: [metrics, logs, traces] distributions: [contrib] \ No newline at end of file diff --git a/exporter/sumologicexporter/internal/metadata/generated_status.go b/exporter/sumologicexporter/internal/metadata/generated_status.go index c53c077163cc..6747e1065390 100644 --- a/exporter/sumologicexporter/internal/metadata/generated_status.go +++ b/exporter/sumologicexporter/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "sumologic" + Stability = component.StabilityLevelBeta +) diff --git a/exporter/sumologicexporter/metadata.yaml b/exporter/sumologicexporter/metadata.yaml index 43e8c8d0ff8a..7a8a3a3a665c 100644 --- a/exporter/sumologicexporter/metadata.yaml +++ b/exporter/sumologicexporter/metadata.yaml @@ -1,7 +1,7 @@ -name: sumologic +type: sumologic status: - type: exporter + class: exporter stability: beta pipelines: [logs, metrics] distributions: [contrib] diff --git a/exporter/tanzuobservabilityexporter/internal/metadata/generated_status.go b/exporter/tanzuobservabilityexporter/internal/metadata/generated_status.go index c53c077163cc..30fd45e84726 100644 --- a/exporter/tanzuobservabilityexporter/internal/metadata/generated_status.go +++ b/exporter/tanzuobservabilityexporter/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "tanzuobservability" + Stability = component.StabilityLevelBeta +) diff --git a/exporter/tanzuobservabilityexporter/metadata.yaml b/exporter/tanzuobservabilityexporter/metadata.yaml index 33ab2509c747..a0478a9c2874 100644 --- a/exporter/tanzuobservabilityexporter/metadata.yaml +++ b/exporter/tanzuobservabilityexporter/metadata.yaml @@ -1,7 +1,7 @@ -name: tanzuobservability +type: tanzuobservability status: - type: exporter + class: exporter stability: beta pipelines: [traces, metrics] distributions: [contrib] diff --git a/exporter/tencentcloudlogserviceexporter/internal/metadata/generated_status.go b/exporter/tencentcloudlogserviceexporter/internal/metadata/generated_status.go index c53c077163cc..2e4420be1942 100644 --- a/exporter/tencentcloudlogserviceexporter/internal/metadata/generated_status.go +++ b/exporter/tencentcloudlogserviceexporter/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "tencentcloudlogsserviceexporter" + Stability = component.StabilityLevelBeta +) diff --git a/exporter/tencentcloudlogserviceexporter/metadata.yaml b/exporter/tencentcloudlogserviceexporter/metadata.yaml index 876f08b7c9e1..cd6c6680c77e 100644 --- a/exporter/tencentcloudlogserviceexporter/metadata.yaml +++ b/exporter/tencentcloudlogserviceexporter/metadata.yaml @@ -1,7 +1,7 @@ -name: tencentcloudlogsserviceexporter +type: tencentcloudlogsserviceexporter status: - type: exporter + class: exporter stability: beta pipelines: [logs] distributions: [contrib] diff --git a/exporter/zipkinexporter/internal/metadata/generated_status.go b/exporter/zipkinexporter/internal/metadata/generated_status.go index c53c077163cc..f3e9192579b2 100644 --- a/exporter/zipkinexporter/internal/metadata/generated_status.go +++ b/exporter/zipkinexporter/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "zipkinexporter" + Stability = component.StabilityLevelBeta +) diff --git a/exporter/zipkinexporter/metadata.yaml b/exporter/zipkinexporter/metadata.yaml index c1e9f716fccd..acd71b2e3383 100644 --- a/exporter/zipkinexporter/metadata.yaml +++ b/exporter/zipkinexporter/metadata.yaml @@ -1,7 +1,7 @@ -name: zipkinexporter +type: zipkinexporter status: - type: exporter + class: exporter stability: beta pipelines: [traces] distributions: [core, contrib] diff --git a/extension/asapauthextension/internal/metadata/generated_status.go b/extension/asapauthextension/internal/metadata/generated_status.go index c53c077163cc..d06bcf21bce6 100644 --- a/extension/asapauthextension/internal/metadata/generated_status.go +++ b/extension/asapauthextension/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "asapauthextension" + Stability = component.StabilityLevelBeta +) diff --git a/extension/asapauthextension/metadata.yaml b/extension/asapauthextension/metadata.yaml index 295897445aed..080f9686caf7 100644 --- a/extension/asapauthextension/metadata.yaml +++ b/extension/asapauthextension/metadata.yaml @@ -1,6 +1,6 @@ -name: asapauthextension +type: asapauthextension status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/basicauthextension/internal/metadata/generated_status.go b/extension/basicauthextension/internal/metadata/generated_status.go index c53c077163cc..5e5fc73694b7 100644 --- a/extension/basicauthextension/internal/metadata/generated_status.go +++ b/extension/basicauthextension/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "basicauthextension" + Stability = component.StabilityLevelBeta +) diff --git a/extension/basicauthextension/metadata.yaml b/extension/basicauthextension/metadata.yaml index bc720f2c7ce7..89165c0d1267 100644 --- a/extension/basicauthextension/metadata.yaml +++ b/extension/basicauthextension/metadata.yaml @@ -1,6 +1,6 @@ -name: basicauthextension +type: basicauthextension status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/bearertokenauthextension/internal/metadata/generated_status.go b/extension/bearertokenauthextension/internal/metadata/generated_status.go index c53c077163cc..756dff719d9c 100644 --- a/extension/bearertokenauthextension/internal/metadata/generated_status.go +++ b/extension/bearertokenauthextension/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "bearertokenauthextension" + Stability = component.StabilityLevelBeta +) diff --git a/extension/bearertokenauthextension/metadata.yaml b/extension/bearertokenauthextension/metadata.yaml index dfd402df0c5d..d722575474a9 100644 --- a/extension/bearertokenauthextension/metadata.yaml +++ b/extension/bearertokenauthextension/metadata.yaml @@ -1,6 +1,6 @@ -name: bearertokenauthextension +type: bearertokenauthextension status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/headerssetterextension/internal/metadata/generated_status.go b/extension/headerssetterextension/internal/metadata/generated_status.go index d4d0800571f8..9de1a48d7a63 100644 --- a/extension/headerssetterextension/internal/metadata/generated_status.go +++ b/extension/headerssetterextension/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelAlpha +const ( + Type = "headerssetterextension" + Stability = component.StabilityLevelAlpha +) diff --git a/extension/headerssetterextension/metadata.yaml b/extension/headerssetterextension/metadata.yaml index 72df78a5b026..6d7ce656059e 100644 --- a/extension/headerssetterextension/metadata.yaml +++ b/extension/headerssetterextension/metadata.yaml @@ -1,6 +1,6 @@ -name: headerssetterextension +type: headerssetterextension status: - type: extension + class: extension stability: alpha distributions: [contrib] \ No newline at end of file diff --git a/extension/healthcheckextension/internal/metadata/generated_status.go b/extension/healthcheckextension/internal/metadata/generated_status.go index c53c077163cc..291299e6b53d 100644 --- a/extension/healthcheckextension/internal/metadata/generated_status.go +++ b/extension/healthcheckextension/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "healthcheck" + Stability = component.StabilityLevelBeta +) diff --git a/extension/healthcheckextension/metadata.yaml b/extension/healthcheckextension/metadata.yaml index 1e3c0c50b5f6..f536d5b9c289 100644 --- a/extension/healthcheckextension/metadata.yaml +++ b/extension/healthcheckextension/metadata.yaml @@ -1,6 +1,6 @@ -name: healthcheck +type: healthcheck status: - type: extension + class: extension stability: beta distributions: [core, contrib] diff --git a/extension/httpforwarder/internal/metadata/generated_status.go b/extension/httpforwarder/internal/metadata/generated_status.go index c53c077163cc..18e332044b45 100644 --- a/extension/httpforwarder/internal/metadata/generated_status.go +++ b/extension/httpforwarder/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "httpforwarder" + Stability = component.StabilityLevelBeta +) diff --git a/extension/httpforwarder/metadata.yaml b/extension/httpforwarder/metadata.yaml index 360a1fc35ee8..74e4c1bb5441 100644 --- a/extension/httpforwarder/metadata.yaml +++ b/extension/httpforwarder/metadata.yaml @@ -1,6 +1,6 @@ -name: httpforwarder +type: httpforwarder status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/jaegerremotesampling/internal/metadata/generated_status.go b/extension/jaegerremotesampling/internal/metadata/generated_status.go index d4d0800571f8..2ab666471ab1 100644 --- a/extension/jaegerremotesampling/internal/metadata/generated_status.go +++ b/extension/jaegerremotesampling/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelAlpha +const ( + Type = "jaegerremotesampling" + Stability = component.StabilityLevelAlpha +) diff --git a/extension/jaegerremotesampling/metadata.yaml b/extension/jaegerremotesampling/metadata.yaml index 53989e1f7550..0d1f2546e9d0 100644 --- a/extension/jaegerremotesampling/metadata.yaml +++ b/extension/jaegerremotesampling/metadata.yaml @@ -1,6 +1,6 @@ -name: jaegerremotesampling +type: jaegerremotesampling status: - type: extension + class: extension stability: alpha distributions: [contrib] \ No newline at end of file diff --git a/extension/oauth2clientauthextension/internal/metadata/generated_status.go b/extension/oauth2clientauthextension/internal/metadata/generated_status.go index c53c077163cc..3e96f7cf9284 100644 --- a/extension/oauth2clientauthextension/internal/metadata/generated_status.go +++ b/extension/oauth2clientauthextension/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "oauth2clientauthextension" + Stability = component.StabilityLevelBeta +) diff --git a/extension/oauth2clientauthextension/metadata.yaml b/extension/oauth2clientauthextension/metadata.yaml index bc3534784fe8..b3b45d198a3f 100644 --- a/extension/oauth2clientauthextension/metadata.yaml +++ b/extension/oauth2clientauthextension/metadata.yaml @@ -1,6 +1,6 @@ -name: oauth2clientauthextension +type: oauth2clientauthextension status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/observer/dockerobserver/internal/metadata/generated_status.go b/extension/observer/dockerobserver/internal/metadata/generated_status.go index c53c077163cc..e931ce604025 100644 --- a/extension/observer/dockerobserver/internal/metadata/generated_status.go +++ b/extension/observer/dockerobserver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "dockerobserver" + Stability = component.StabilityLevelBeta +) diff --git a/extension/observer/dockerobserver/metadata.yaml b/extension/observer/dockerobserver/metadata.yaml index d1816501d260..3fb7596f634e 100644 --- a/extension/observer/dockerobserver/metadata.yaml +++ b/extension/observer/dockerobserver/metadata.yaml @@ -1,6 +1,6 @@ -name: dockerobserver +type: dockerobserver status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/observer/ecsobserver/internal/metadata/generated_status.go b/extension/observer/ecsobserver/internal/metadata/generated_status.go index c53c077163cc..1a6fde15331d 100644 --- a/extension/observer/ecsobserver/internal/metadata/generated_status.go +++ b/extension/observer/ecsobserver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "ecsobserver" + Stability = component.StabilityLevelBeta +) diff --git a/extension/observer/ecsobserver/metadata.yaml b/extension/observer/ecsobserver/metadata.yaml index 36fc15ac56b0..d3beba7de2f7 100644 --- a/extension/observer/ecsobserver/metadata.yaml +++ b/extension/observer/ecsobserver/metadata.yaml @@ -1,6 +1,6 @@ -name: ecsobserver +type: ecsobserver status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/observer/ecstaskobserver/internal/metadata/generated_status.go b/extension/observer/ecstaskobserver/internal/metadata/generated_status.go index c53c077163cc..2b08ea89aa73 100644 --- a/extension/observer/ecstaskobserver/internal/metadata/generated_status.go +++ b/extension/observer/ecstaskobserver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "ecstaskobserver" + Stability = component.StabilityLevelBeta +) diff --git a/extension/observer/ecstaskobserver/metadata.yaml b/extension/observer/ecstaskobserver/metadata.yaml index b7b59b5c55c7..73ad8b711d5d 100644 --- a/extension/observer/ecstaskobserver/metadata.yaml +++ b/extension/observer/ecstaskobserver/metadata.yaml @@ -1,6 +1,6 @@ -name: ecstaskobserver +type: ecstaskobserver status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/observer/hostobserver/internal/metadata/generated_status.go b/extension/observer/hostobserver/internal/metadata/generated_status.go index c53c077163cc..61cecd7390b6 100644 --- a/extension/observer/hostobserver/internal/metadata/generated_status.go +++ b/extension/observer/hostobserver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "hostobserver" + Stability = component.StabilityLevelBeta +) diff --git a/extension/observer/hostobserver/metadata.yaml b/extension/observer/hostobserver/metadata.yaml index 5ca70633fc50..382a9755d50a 100644 --- a/extension/observer/hostobserver/metadata.yaml +++ b/extension/observer/hostobserver/metadata.yaml @@ -1,6 +1,6 @@ -name: hostobserver +type: hostobserver status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/observer/k8sobserver/internal/metadata/generated_status.go b/extension/observer/k8sobserver/internal/metadata/generated_status.go index d4d0800571f8..87e11a113e84 100644 --- a/extension/observer/k8sobserver/internal/metadata/generated_status.go +++ b/extension/observer/k8sobserver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelAlpha +const ( + Type = "k8sobserver" + Stability = component.StabilityLevelAlpha +) diff --git a/extension/observer/k8sobserver/metadata.yaml b/extension/observer/k8sobserver/metadata.yaml index a2aea44ae6c1..5fc31cbe7c2e 100644 --- a/extension/observer/k8sobserver/metadata.yaml +++ b/extension/observer/k8sobserver/metadata.yaml @@ -1,6 +1,6 @@ -name: k8sobserver +type: k8sobserver status: - type: extension + class: extension stability: alpha distributions: [contrib] \ No newline at end of file diff --git a/extension/oidcauthextension/internal/metadata/generated_status.go b/extension/oidcauthextension/internal/metadata/generated_status.go index c53c077163cc..318840769d17 100644 --- a/extension/oidcauthextension/internal/metadata/generated_status.go +++ b/extension/oidcauthextension/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "oidcauthextension" + Stability = component.StabilityLevelBeta +) diff --git a/extension/oidcauthextension/metadata.yaml b/extension/oidcauthextension/metadata.yaml index add2c5f468b0..eea8d826eb1e 100644 --- a/extension/oidcauthextension/metadata.yaml +++ b/extension/oidcauthextension/metadata.yaml @@ -1,6 +1,6 @@ -name: oidcauthextension +type: oidcauthextension status: - type: extension + class: extension stability: beta distributions: [contrib] \ No newline at end of file diff --git a/extension/pprofextension/internal/metadata/generated_status.go b/extension/pprofextension/internal/metadata/generated_status.go index c53c077163cc..b8755a0d4c5d 100644 --- a/extension/pprofextension/internal/metadata/generated_status.go +++ b/extension/pprofextension/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "pprofextension" + Stability = component.StabilityLevelBeta +) diff --git a/extension/pprofextension/metadata.yaml b/extension/pprofextension/metadata.yaml index 56ef1739b1bc..aeeeef954861 100644 --- a/extension/pprofextension/metadata.yaml +++ b/extension/pprofextension/metadata.yaml @@ -1,6 +1,6 @@ -name: pprofextension +type: pprofextension status: - type: extension + class: extension stability: beta distributions: [core, contrib] diff --git a/processor/cumulativetodeltaprocessor/internal/metadata/generated_status.go b/processor/cumulativetodeltaprocessor/internal/metadata/generated_status.go index c53c077163cc..edfba5f884b2 100644 --- a/processor/cumulativetodeltaprocessor/internal/metadata/generated_status.go +++ b/processor/cumulativetodeltaprocessor/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "cumulativetodelta" + Stability = component.StabilityLevelBeta +) diff --git a/processor/cumulativetodeltaprocessor/metadata.yaml b/processor/cumulativetodeltaprocessor/metadata.yaml index ed72d0a746b8..63b38d11a89f 100644 --- a/processor/cumulativetodeltaprocessor/metadata.yaml +++ b/processor/cumulativetodeltaprocessor/metadata.yaml @@ -1,7 +1,7 @@ -name: cumulativetodelta +type: cumulativetodelta status: - type: processor + class: processor stability: beta pipelines: [metrics] distributions: [contrib] diff --git a/processor/resourcedetectionprocessor/internal/metadata/generated_status.go b/processor/resourcedetectionprocessor/internal/metadata/generated_status.go index c53c077163cc..0c5e4d90b10d 100644 --- a/processor/resourcedetectionprocessor/internal/metadata/generated_status.go +++ b/processor/resourcedetectionprocessor/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "resourcedetectionprocessor" + Stability = component.StabilityLevelBeta +) diff --git a/processor/resourcedetectionprocessor/metadata.yaml b/processor/resourcedetectionprocessor/metadata.yaml index 02dfa6a0eb7c..3993601d29f9 100644 --- a/processor/resourcedetectionprocessor/metadata.yaml +++ b/processor/resourcedetectionprocessor/metadata.yaml @@ -1,7 +1,7 @@ -name: resourcedetectionprocessor +type: resourcedetectionprocessor status: - type: processor + class: processor stability: beta pipelines: [traces, metrics, logs] distributions: [contrib] diff --git a/processor/resourceprocessor/internal/metadata/generated_status.go b/processor/resourceprocessor/internal/metadata/generated_status.go index c53c077163cc..aadcb92d0c96 100644 --- a/processor/resourceprocessor/internal/metadata/generated_status.go +++ b/processor/resourceprocessor/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "resourceprocessor" + Stability = component.StabilityLevelBeta +) diff --git a/processor/resourceprocessor/metadata.yaml b/processor/resourceprocessor/metadata.yaml index eb577b1c2586..c9963b199ecb 100644 --- a/processor/resourceprocessor/metadata.yaml +++ b/processor/resourceprocessor/metadata.yaml @@ -1,7 +1,7 @@ -name: resourceprocessor +type: resourceprocessor status: - type: processor + class: processor stability: beta pipelines: [logs, metrics, traces] distributions: [core, contrib] diff --git a/processor/transformprocessor/internal/metadata/generated_status.go b/processor/transformprocessor/internal/metadata/generated_status.go index d4d0800571f8..b79f48162b0a 100644 --- a/processor/transformprocessor/internal/metadata/generated_status.go +++ b/processor/transformprocessor/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelAlpha +const ( + Type = "transform" + Stability = component.StabilityLevelAlpha +) diff --git a/processor/transformprocessor/metadata.yaml b/processor/transformprocessor/metadata.yaml index 513fb5923a12..5df55737938f 100644 --- a/processor/transformprocessor/metadata.yaml +++ b/processor/transformprocessor/metadata.yaml @@ -1,7 +1,7 @@ -name: transform +type: transform status: - type: processor + class: processor stability: alpha pipelines: [traces, metrics, logs] distributions: [contrib] diff --git a/receiver/activedirectorydsreceiver/internal/metadata/generated_status.go b/receiver/activedirectorydsreceiver/internal/metadata/generated_status.go index c53c077163cc..61eb02b60b0d 100644 --- a/receiver/activedirectorydsreceiver/internal/metadata/generated_status.go +++ b/receiver/activedirectorydsreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "activedirectorydsreceiver" + Stability = component.StabilityLevelBeta +) diff --git a/receiver/activedirectorydsreceiver/metadata.yaml b/receiver/activedirectorydsreceiver/metadata.yaml index 905ed1688a74..4cce1822853b 100644 --- a/receiver/activedirectorydsreceiver/metadata.yaml +++ b/receiver/activedirectorydsreceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: activedirectorydsreceiver +type: activedirectorydsreceiver status: - type: receiver + class: receiver stability: beta pipelines: [metrics] distributions: [contrib] diff --git a/receiver/aerospikereceiver/internal/metadata/generated_status.go b/receiver/aerospikereceiver/internal/metadata/generated_status.go index d4d0800571f8..880d7cda5106 100644 --- a/receiver/aerospikereceiver/internal/metadata/generated_status.go +++ b/receiver/aerospikereceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelAlpha +const ( + Type = "aerospikereceiver" + Stability = component.StabilityLevelAlpha +) diff --git a/receiver/aerospikereceiver/metadata.yaml b/receiver/aerospikereceiver/metadata.yaml index 6641e1e62545..8a4997dbce8a 100644 --- a/receiver/aerospikereceiver/metadata.yaml +++ b/receiver/aerospikereceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: aerospikereceiver +type: aerospikereceiver status: - type: receiver + class: receiver stability: alpha pipelines: [metrics] distributions: [contrib] diff --git a/receiver/apachereceiver/internal/metadata/generated_status.go b/receiver/apachereceiver/internal/metadata/generated_status.go index c53c077163cc..155d13eccf8d 100644 --- a/receiver/apachereceiver/internal/metadata/generated_status.go +++ b/receiver/apachereceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "apachereceiver" + Stability = component.StabilityLevelBeta +) diff --git a/receiver/apachereceiver/metadata.yaml b/receiver/apachereceiver/metadata.yaml index 9eb87d361c8c..9a6cf66230b7 100644 --- a/receiver/apachereceiver/metadata.yaml +++ b/receiver/apachereceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: apachereceiver +type: apachereceiver status: - type: receiver + class: receiver stability: beta pipelines: [metrics] distributions: [contrib] diff --git a/receiver/azureeventhubreceiver/internal/metadata/generated_status.go b/receiver/azureeventhubreceiver/internal/metadata/generated_status.go index d4d0800571f8..855413de74bd 100644 --- a/receiver/azureeventhubreceiver/internal/metadata/generated_status.go +++ b/receiver/azureeventhubreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelAlpha +const ( + Type = "azureeventhubreceiver" + Stability = component.StabilityLevelAlpha +) diff --git a/receiver/azureeventhubreceiver/metadata.yaml b/receiver/azureeventhubreceiver/metadata.yaml index f3ae62ee4e47..d6d9381f1853 100644 --- a/receiver/azureeventhubreceiver/metadata.yaml +++ b/receiver/azureeventhubreceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: azureeventhubreceiver +type: azureeventhubreceiver status: - type: receiver + class: receiver stability: alpha pipelines: [logs, metrics] distributions: [contrib] \ No newline at end of file diff --git a/receiver/bigipreceiver/metadata.yaml b/receiver/bigipreceiver/metadata.yaml index 3fac119c2cdd..ca6a0dfacb00 100644 --- a/receiver/bigipreceiver/metadata.yaml +++ b/receiver/bigipreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: bigipreceiver +type: bigipreceiver resource_attributes: bigip.virtual_server.name: diff --git a/receiver/chronyreceiver/metadata.yaml b/receiver/chronyreceiver/metadata.yaml index 11c1094d0139..07fc1d67a0e2 100644 --- a/receiver/chronyreceiver/metadata.yaml +++ b/receiver/chronyreceiver/metadata.yaml @@ -1,5 +1,5 @@ --- -name: chrony receiver +type: chrony receiver attributes: leap.status: diff --git a/receiver/couchdbreceiver/metadata.yaml b/receiver/couchdbreceiver/metadata.yaml index 8e8117c9d127..c6569bed1641 100644 --- a/receiver/couchdbreceiver/metadata.yaml +++ b/receiver/couchdbreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: couchdbreceiver +type: couchdbreceiver resource_attributes: couchdb.node.name: diff --git a/receiver/dockerstatsreceiver/metadata.yaml b/receiver/dockerstatsreceiver/metadata.yaml index 44696038fae8..5fedb0a57374 100644 --- a/receiver/dockerstatsreceiver/metadata.yaml +++ b/receiver/dockerstatsreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: dockerstatsreceiver +type: dockerstatsreceiver sem_conv_version: 1.6.1 diff --git a/receiver/elasticsearchreceiver/metadata.yaml b/receiver/elasticsearchreceiver/metadata.yaml index 07f1a07bf001..c2c88e4dd62c 100644 --- a/receiver/elasticsearchreceiver/metadata.yaml +++ b/receiver/elasticsearchreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: elasticsearchreceiver +type: elasticsearchreceiver resource_attributes: elasticsearch.cluster.name: diff --git a/receiver/expvarreceiver/metadata.yaml b/receiver/expvarreceiver/metadata.yaml index 47b59a9c9b7a..b1d854476683 100644 --- a/receiver/expvarreceiver/metadata.yaml +++ b/receiver/expvarreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: expvarreceiver +type: expvarreceiver metrics: process.runtime.memstats.total_alloc: diff --git a/receiver/filestatsreceiver/internal/metadata/generated_status.go b/receiver/filestatsreceiver/internal/metadata/generated_status.go index 2df78c62ca1b..96dc3f74d7d8 100644 --- a/receiver/filestatsreceiver/internal/metadata/generated_status.go +++ b/receiver/filestatsreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelDevelopment +const ( + Type = "filestatsreceiver" + Stability = component.StabilityLevelDevelopment +) diff --git a/receiver/filestatsreceiver/metadata.yaml b/receiver/filestatsreceiver/metadata.yaml index 6e2c4b3f5fbc..f196ee2e15f1 100644 --- a/receiver/filestatsreceiver/metadata.yaml +++ b/receiver/filestatsreceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: filestatsreceiver +type: filestatsreceiver status: - type: receiver + class: receiver stability: development pipelines: [metrics] distributions: [contrib] diff --git a/receiver/flinkmetricsreceiver/metadata.yaml b/receiver/flinkmetricsreceiver/metadata.yaml index 8b2df335c3c9..154a74f94367 100644 --- a/receiver/flinkmetricsreceiver/metadata.yaml +++ b/receiver/flinkmetricsreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: flinkmetricsreceiver +type: flinkmetricsreceiver resource_attributes: # These resource attributes are Flinks system scope variables, which contains context information about metrics. These are required to uniquely identify incoming metrics as the same job can run multiple times concurrently. See https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/ops/metrics/#system-scope for more information. diff --git a/receiver/haproxyreceiver/internal/metadata/generated_status.go b/receiver/haproxyreceiver/internal/metadata/generated_status.go index d4d0800571f8..42a51caf20b4 100644 --- a/receiver/haproxyreceiver/internal/metadata/generated_status.go +++ b/receiver/haproxyreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelAlpha +const ( + Type = "haproxyreceiver" + Stability = component.StabilityLevelAlpha +) diff --git a/receiver/haproxyreceiver/metadata.yaml b/receiver/haproxyreceiver/metadata.yaml index 77a0c4f91df2..2a6f35ee3c9f 100644 --- a/receiver/haproxyreceiver/metadata.yaml +++ b/receiver/haproxyreceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: haproxyreceiver +type: haproxyreceiver status: - type: receiver + class: receiver stability: alpha pipelines: [metrics] distributions: [contrib] diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml index db9f039ba452..663f50d7f8cb 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml @@ -1,4 +1,4 @@ -name: hostmetricsreceiver/cpu +type: hostmetricsreceiver/cpu sem_conv_version: 1.9.0 diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/metadata.yaml index 4ce5a550a111..9082d87d2f43 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/metadata.yaml @@ -1,4 +1,4 @@ -name: hostmetricsreceiver/disk +type: hostmetricsreceiver/disk sem_conv_version: 1.9.0 diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml index a81e74f1b0d5..bc5d6873ead6 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml @@ -1,4 +1,4 @@ -name: hostmetricsreceiver/filesystem +type: hostmetricsreceiver/filesystem sem_conv_version: 1.9.0 diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/metadata.yaml index c70adb389c15..8343eb2b1e23 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/metadata.yaml @@ -1,4 +1,4 @@ -name: hostmetricsreceiver/load +type: hostmetricsreceiver/load sem_conv_version: 1.9.0 diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml index 319986f481ae..abd570aa36f3 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml @@ -1,4 +1,4 @@ -name: hostmetricsreceiver/memory +type: hostmetricsreceiver/memory sem_conv_version: 1.9.0 diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/metadata.yaml index f2c078298eb7..907d56c684a7 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/metadata.yaml @@ -1,4 +1,4 @@ -name: hostmetricsreceiver/network +type: hostmetricsreceiver/network sem_conv_version: 1.9.0 diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml index 765059619443..c39ebb6bd55f 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml @@ -1,4 +1,4 @@ -name: hostmetricsreceiver/paging +type: hostmetricsreceiver/paging sem_conv_version: 1.9.0 diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/metadata.yaml index 3af43ceb659f..1273abfb3ae2 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/metadata.yaml @@ -1,4 +1,4 @@ -name: hostmetricsreceiver/processes +type: hostmetricsreceiver/processes sem_conv_version: 1.9.0 diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml index c77637043f9e..1caf14e7d426 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml @@ -1,4 +1,4 @@ -name: hostmetricsreceiver/process +type: hostmetricsreceiver/process sem_conv_version: 1.9.0 diff --git a/receiver/httpcheckreceiver/internal/metadata/generated_status.go b/receiver/httpcheckreceiver/internal/metadata/generated_status.go index 2df78c62ca1b..1619bfbf11cd 100644 --- a/receiver/httpcheckreceiver/internal/metadata/generated_status.go +++ b/receiver/httpcheckreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelDevelopment +const ( + Type = "httpcheckreceiver" + Stability = component.StabilityLevelDevelopment +) diff --git a/receiver/httpcheckreceiver/metadata.yaml b/receiver/httpcheckreceiver/metadata.yaml index 34158acce9da..32b43587c3a7 100644 --- a/receiver/httpcheckreceiver/metadata.yaml +++ b/receiver/httpcheckreceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: httpcheckreceiver +type: httpcheckreceiver status: - type: receiver + class: receiver stability: development pipelines: [metrics] distributions: [contrib] diff --git a/receiver/iisreceiver/metadata.yaml b/receiver/iisreceiver/metadata.yaml index 2e8525103b44..23bdfc3477d5 100644 --- a/receiver/iisreceiver/metadata.yaml +++ b/receiver/iisreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: iisreceiver +type: iisreceiver resource_attributes: iis.site: diff --git a/receiver/kafkametricsreceiver/metadata.yaml b/receiver/kafkametricsreceiver/metadata.yaml index 36378b56ea13..8377f4b4ec10 100644 --- a/receiver/kafkametricsreceiver/metadata.yaml +++ b/receiver/kafkametricsreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: kafkametricsreceiver +type: kafkametricsreceiver attributes: topic: diff --git a/receiver/kubeletstatsreceiver/metadata.yaml b/receiver/kubeletstatsreceiver/metadata.yaml index 170f8c90c8a6..0e24ccd2433c 100644 --- a/receiver/kubeletstatsreceiver/metadata.yaml +++ b/receiver/kubeletstatsreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: kubeletstatsreceiver +type: kubeletstatsreceiver resource_attributes: k8s.node.name: diff --git a/receiver/memcachedreceiver/metadata.yaml b/receiver/memcachedreceiver/metadata.yaml index c65d72cdf0d3..70b6dcf3b69c 100644 --- a/receiver/memcachedreceiver/metadata.yaml +++ b/receiver/memcachedreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: memcachedreceiver +type: memcachedreceiver attributes: command: diff --git a/receiver/mongodbatlasreceiver/metadata.yaml b/receiver/mongodbatlasreceiver/metadata.yaml index b521e3ebcb09..261f580ea860 100644 --- a/receiver/mongodbatlasreceiver/metadata.yaml +++ b/receiver/mongodbatlasreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: mongoatlasreceiver +type: mongoatlasreceiver resource_attributes: mongodb_atlas.org_name: diff --git a/receiver/mongodbreceiver/metadata.yaml b/receiver/mongodbreceiver/metadata.yaml index 2cf63d99c797..91ee7f811551 100644 --- a/receiver/mongodbreceiver/metadata.yaml +++ b/receiver/mongodbreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: mongodbreceiver +type: mongodbreceiver resource_attributes: database: diff --git a/receiver/mysqlreceiver/metadata.yaml b/receiver/mysqlreceiver/metadata.yaml index 0f51b36edb76..e2e7ff2c366a 100644 --- a/receiver/mysqlreceiver/metadata.yaml +++ b/receiver/mysqlreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: mysqlreceiver +type: mysqlreceiver resource_attributes: mysql.instance.endpoint: diff --git a/receiver/nginxreceiver/metadata.yaml b/receiver/nginxreceiver/metadata.yaml index 69fa92cbad7d..253ac22d7ba7 100644 --- a/receiver/nginxreceiver/metadata.yaml +++ b/receiver/nginxreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: nginxreceiver +type: nginxreceiver attributes: state: diff --git a/receiver/nsxtreceiver/metadata.yaml b/receiver/nsxtreceiver/metadata.yaml index ada611fc9cfb..3f874afa5ebb 100644 --- a/receiver/nsxtreceiver/metadata.yaml +++ b/receiver/nsxtreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: nsxtreceiver +type: nsxtreceiver resource_attributes: nsxt.node.name: diff --git a/receiver/oracledbreceiver/internal/metadata/generated_status.go b/receiver/oracledbreceiver/internal/metadata/generated_status.go index d4d0800571f8..0c7e35142ceb 100644 --- a/receiver/oracledbreceiver/internal/metadata/generated_status.go +++ b/receiver/oracledbreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelAlpha +const ( + Type = "oracledbreceiver" + Stability = component.StabilityLevelAlpha +) diff --git a/receiver/oracledbreceiver/metadata.yaml b/receiver/oracledbreceiver/metadata.yaml index 51688207d7c8..03effb29154c 100644 --- a/receiver/oracledbreceiver/metadata.yaml +++ b/receiver/oracledbreceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: oracledbreceiver +type: oracledbreceiver status: - type: receiver + class: receiver stability: alpha pipelines: [metrics] distributions: [contrib] diff --git a/receiver/otlpjsonfilereceiver/internal/metadata/generated_status.go b/receiver/otlpjsonfilereceiver/internal/metadata/generated_status.go index d4d0800571f8..ae05b9c6cc2b 100644 --- a/receiver/otlpjsonfilereceiver/internal/metadata/generated_status.go +++ b/receiver/otlpjsonfilereceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelAlpha +const ( + Type = "otlpjsonfilereceiver" + Stability = component.StabilityLevelAlpha +) diff --git a/receiver/otlpjsonfilereceiver/metadata.yaml b/receiver/otlpjsonfilereceiver/metadata.yaml index a75c6c2627a6..650fc872775c 100644 --- a/receiver/otlpjsonfilereceiver/metadata.yaml +++ b/receiver/otlpjsonfilereceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: otlpjsonfilereceiver +type: otlpjsonfilereceiver status: - type: receiver + class: receiver stability: alpha pipelines: [logs, metrics, traces] distributions: [contrib] \ No newline at end of file diff --git a/receiver/postgresqlreceiver/internal/metadata/generated_status.go b/receiver/postgresqlreceiver/internal/metadata/generated_status.go index c53c077163cc..5d9907bd5caa 100644 --- a/receiver/postgresqlreceiver/internal/metadata/generated_status.go +++ b/receiver/postgresqlreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "postgresqlreceiver" + Stability = component.StabilityLevelBeta +) diff --git a/receiver/postgresqlreceiver/metadata.yaml b/receiver/postgresqlreceiver/metadata.yaml index d7f57e70d131..24f3d411f9df 100644 --- a/receiver/postgresqlreceiver/metadata.yaml +++ b/receiver/postgresqlreceiver/metadata.yaml @@ -1,8 +1,8 @@ -name: postgresqlreceiver +type: postgresqlreceiver status: - type: receiver + class: receiver stability: beta pipelines: [metrics] distributions: [contrib] diff --git a/receiver/rabbitmqreceiver/metadata.yaml b/receiver/rabbitmqreceiver/metadata.yaml index bf156789796d..1742b8ba5ef0 100644 --- a/receiver/rabbitmqreceiver/metadata.yaml +++ b/receiver/rabbitmqreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: rabbitmqreceiver +type: rabbitmqreceiver resource_attributes: rabbitmq.queue.name: diff --git a/receiver/redisreceiver/metadata.yaml b/receiver/redisreceiver/metadata.yaml index 71797e9353c1..2fd31ae18da1 100644 --- a/receiver/redisreceiver/metadata.yaml +++ b/receiver/redisreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: redisreceiver +type: redisreceiver resource_attributes: redis.version: diff --git a/receiver/riakreceiver/metadata.yaml b/receiver/riakreceiver/metadata.yaml index 952cf13715e1..fcef0e91d9e6 100644 --- a/receiver/riakreceiver/metadata.yaml +++ b/receiver/riakreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: riakreceiver +type: riakreceiver resource_attributes: riak.node.name: diff --git a/receiver/saphanareceiver/metadata.yaml b/receiver/saphanareceiver/metadata.yaml index d66437d10579..b36f1b1373c4 100644 --- a/receiver/saphanareceiver/metadata.yaml +++ b/receiver/saphanareceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: saphanareceiver +type: saphanareceiver resource_attributes: saphana.host: type: string diff --git a/receiver/signalfxreceiver/internal/metadata/generated_status.go b/receiver/signalfxreceiver/internal/metadata/generated_status.go index c53c077163cc..a364bae13b0d 100644 --- a/receiver/signalfxreceiver/internal/metadata/generated_status.go +++ b/receiver/signalfxreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "signalfxreceiver" + Stability = component.StabilityLevelBeta +) diff --git a/receiver/signalfxreceiver/metadata.yaml b/receiver/signalfxreceiver/metadata.yaml index ce83add70be8..e46a30672a64 100644 --- a/receiver/signalfxreceiver/metadata.yaml +++ b/receiver/signalfxreceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: signalfxreceiver +type: signalfxreceiver status: - type: receiver + class: receiver stability: beta pipelines: [metrics, logs] distributions: [contrib] \ No newline at end of file diff --git a/receiver/snowflakereceiver/metadata.yaml b/receiver/snowflakereceiver/metadata.yaml index 1068bcd2a76a..81d86b358ee7 100644 --- a/receiver/snowflakereceiver/metadata.yaml +++ b/receiver/snowflakereceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: snowflakereceiver +type: snowflakereceiver # every meter will have these attributes resource_attributes: diff --git a/receiver/splunkhecreceiver/internal/metadata/generated_status.go b/receiver/splunkhecreceiver/internal/metadata/generated_status.go index c53c077163cc..7bf7981f0b07 100644 --- a/receiver/splunkhecreceiver/internal/metadata/generated_status.go +++ b/receiver/splunkhecreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "splunkhecreceiver" + Stability = component.StabilityLevelBeta +) diff --git a/receiver/splunkhecreceiver/metadata.yaml b/receiver/splunkhecreceiver/metadata.yaml index ad9c882c3de7..ebc26fe78b82 100644 --- a/receiver/splunkhecreceiver/metadata.yaml +++ b/receiver/splunkhecreceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: splunkhecreceiver +type: splunkhecreceiver status: - type: receiver + class: receiver stability: beta pipelines: [metrics, logs] distributions: [contrib] \ No newline at end of file diff --git a/receiver/sqlserverreceiver/metadata.yaml b/receiver/sqlserverreceiver/metadata.yaml index 2ffdb5a0c2d3..6c72a971c3fb 100644 --- a/receiver/sqlserverreceiver/metadata.yaml +++ b/receiver/sqlserverreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: sqlserverreceiver +type: sqlserverreceiver resource_attributes: sqlserver.database.name: diff --git a/receiver/sshcheckreceiver/metadata.yaml b/receiver/sshcheckreceiver/metadata.yaml index d89281b8559d..11bda46fc319 100644 --- a/receiver/sshcheckreceiver/metadata.yaml +++ b/receiver/sshcheckreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: sshcheckreceiver +type: sshcheckreceiver resource_attributes: ssh.endpoint: diff --git a/receiver/vcenterreceiver/metadata.yaml b/receiver/vcenterreceiver/metadata.yaml index fe66c8f808b0..0f8f01d96d81 100644 --- a/receiver/vcenterreceiver/metadata.yaml +++ b/receiver/vcenterreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: vcenterreceiver +type: vcenterreceiver resource_attributes: vcenter.cluster.name: diff --git a/receiver/zipkinreceiver/internal/metadata/generated_status.go b/receiver/zipkinreceiver/internal/metadata/generated_status.go index c53c077163cc..7d24cc78e2ec 100644 --- a/receiver/zipkinreceiver/internal/metadata/generated_status.go +++ b/receiver/zipkinreceiver/internal/metadata/generated_status.go @@ -6,4 +6,7 @@ import ( "go.opentelemetry.io/collector/component" ) -const Stability = component.StabilityLevelBeta +const ( + Type = "zipkinreceiver" + Stability = component.StabilityLevelBeta +) diff --git a/receiver/zipkinreceiver/metadata.yaml b/receiver/zipkinreceiver/metadata.yaml index 985650291fab..0705d5511fb5 100644 --- a/receiver/zipkinreceiver/metadata.yaml +++ b/receiver/zipkinreceiver/metadata.yaml @@ -1,7 +1,7 @@ -name: zipkinreceiver +type: zipkinreceiver status: - type: receiver + class: receiver stability: beta pipelines: [traces] distributions: [core, contrib] diff --git a/receiver/zookeeperreceiver/metadata.yaml b/receiver/zookeeperreceiver/metadata.yaml index 9d2bae0c5f65..aa08f008a551 100644 --- a/receiver/zookeeperreceiver/metadata.yaml +++ b/receiver/zookeeperreceiver/metadata.yaml @@ -1,4 +1,4 @@ -name: zookeeperreceiver +type: zookeeperreceiver resource_attributes: server.state: