From d9cc9b18d348311ff628722a39b912357c21187a Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Sat, 15 Apr 2023 15:51:34 -0700 Subject: [PATCH] migrate more metadata.yaml over --- .../internal/metadata/generated_status.go | 5 ++++- exporter/tanzuobservabilityexporter/metadata.yaml | 4 ++-- .../internal/metadata/generated_status.go | 5 ++++- exporter/tencentcloudlogserviceexporter/metadata.yaml | 4 ++-- 4 files changed, 12 insertions(+), 6 deletions(-) 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]