diff --git a/.chloggen/add-parent-field-metadata.yaml b/.chloggen/add-parent-field-metadata.yaml new file mode 100755 index 0000000000000..7dabb811362ad --- /dev/null +++ b/.chloggen/add-parent-field-metadata.yaml @@ -0,0 +1,20 @@ +# Use this changelog template to create an entry for release notes. +# If your change doesn't affect end users, such as a test fix or a tooling change, +# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) +component: mdatagen + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Adds a parent field to metadata.yaml for subcomponents. + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +issues: [23636] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/cmd/mdatagen/loader.go b/cmd/mdatagen/loader.go index a11aea8c453b0..17214d9a5a4e1 100644 --- a/cmd/mdatagen/loader.go +++ b/cmd/mdatagen/loader.go @@ -210,6 +210,8 @@ func (attr *attribute) Unmarshal(parser *confmap.Conf) error { type metadata struct { // Type of the component. Type string `mapstructure:"type"` + // Type of the parent component (applicable to subcomponents). + Parent string `mapstructure:"parent"` // 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 8fca2f8e432ee..ea71e0061128b 100644 --- a/cmd/mdatagen/loader_test.go +++ b/cmd/mdatagen/loader_test.go @@ -158,6 +158,14 @@ func Test_loadMetadata(t *testing.T) { ScopeName: "otelcol", }, }, + { + name: "testdata/parent.yaml", + want: metadata{ + Type: "subcomponent", + Parent: "parentComponent", + ScopeName: "otelcol", + }, + }, { name: "testdata/unknown_metric_attribute.yaml", want: metadata{}, diff --git a/cmd/mdatagen/metadata-schema.yaml b/cmd/mdatagen/metadata-schema.yaml index 24ff9c9e94f0f..0513b0b92ae8d 100644 --- a/cmd/mdatagen/metadata-schema.yaml +++ b/cmd/mdatagen/metadata-schema.yaml @@ -1,6 +1,9 @@ # Required: The type of the component - Usually the name. The type and class combined uniquely identify the component (eg. receiver/otlp) or subcomponent (eg. receiver/hostmetricsreceiver/cpu) type: +# Required for subcomponents: The type of the parent component. +parent: string + # Required for components (Optional for subcomponents): A high-level view of the development status and use of this component status: # Required: The class of the component (For example receiver) diff --git a/cmd/mdatagen/templates/documentation.md.tmpl b/cmd/mdatagen/templates/documentation.md.tmpl index 7d0f20836def9..58777c4c22b8a 100644 --- a/cmd/mdatagen/templates/documentation.md.tmpl +++ b/cmd/mdatagen/templates/documentation.md.tmpl @@ -38,6 +38,11 @@ # {{ .Type }} +{{- if .Parent }} + +**Parent Component:** {{ .Parent }} +{{- end }} + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/cmd/mdatagen/testdata/parent.yaml b/cmd/mdatagen/testdata/parent.yaml new file mode 100644 index 0000000000000..1f8fc15ba176a --- /dev/null +++ b/cmd/mdatagen/testdata/parent.yaml @@ -0,0 +1,3 @@ +type: subcomponent + +parent: parentComponent \ No newline at end of file diff --git a/processor/resourcedetectionprocessor/internal/aws/ec2/metadata.yaml b/processor/resourcedetectionprocessor/internal/aws/ec2/metadata.yaml index 85bfa338b07f2..ae31e6c3c3d60 100644 --- a/processor/resourcedetectionprocessor/internal/aws/ec2/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/aws/ec2/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/ec2 +parent: resourcedetection + resource_attributes: host.name: description: The hostname diff --git a/processor/resourcedetectionprocessor/internal/aws/ecs/metadata.yaml b/processor/resourcedetectionprocessor/internal/aws/ecs/metadata.yaml index 08238bb0a0b70..7b11b00770902 100644 --- a/processor/resourcedetectionprocessor/internal/aws/ecs/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/aws/ecs/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/ecs +parent: resourcedetection + resource_attributes: cloud.provider: description: The cloud.provider diff --git a/processor/resourcedetectionprocessor/internal/aws/eks/metadata.yaml b/processor/resourcedetectionprocessor/internal/aws/eks/metadata.yaml index b5c003beb0797..e544e7c1f552a 100644 --- a/processor/resourcedetectionprocessor/internal/aws/eks/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/aws/eks/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/eks +parent: resourcedetection + resource_attributes: cloud.provider: description: The cloud.provider diff --git a/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/metadata.yaml b/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/metadata.yaml index 5da8242cbf8db..0414b1a650413 100644 --- a/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/elastic_beanstalk +parent: resourcedetection + resource_attributes: cloud.provider: description: The cloud.provider diff --git a/processor/resourcedetectionprocessor/internal/aws/lambda/metadata.yaml b/processor/resourcedetectionprocessor/internal/aws/lambda/metadata.yaml index 73cc90f26304f..b71eb7e7a9f51 100644 --- a/processor/resourcedetectionprocessor/internal/aws/lambda/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/aws/lambda/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/lambda +parent: resourcedetection + resource_attributes: cloud.provider: description: The cloud.provider diff --git a/processor/resourcedetectionprocessor/internal/azure/aks/metadata.yaml b/processor/resourcedetectionprocessor/internal/azure/aks/metadata.yaml index ef8303419036c..c0065862472b5 100644 --- a/processor/resourcedetectionprocessor/internal/azure/aks/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/azure/aks/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/aks +parent: resourcedetection + resource_attributes: cloud.provider: description: The cloud.provider diff --git a/processor/resourcedetectionprocessor/internal/azure/metadata.yaml b/processor/resourcedetectionprocessor/internal/azure/metadata.yaml index 5816a1179c862..f49e03d59d5e9 100644 --- a/processor/resourcedetectionprocessor/internal/azure/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/azure/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/azure +parent: resourcedetection + resource_attributes: cloud.provider: description: The cloud.provider diff --git a/processor/resourcedetectionprocessor/internal/consul/metadata.yaml b/processor/resourcedetectionprocessor/internal/consul/metadata.yaml index 9431338b20f15..337b0dc5d02a5 100644 --- a/processor/resourcedetectionprocessor/internal/consul/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/consul/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/consul +parent: resourcedetection + resource_attributes: cloud.provider: description: The cloud.provider diff --git a/processor/resourcedetectionprocessor/internal/docker/metadata.yaml b/processor/resourcedetectionprocessor/internal/docker/metadata.yaml index 4b63358ba9db0..7c8fd5a7f3008 100644 --- a/processor/resourcedetectionprocessor/internal/docker/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/docker/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/docker +parent: resourcedetection + resource_attributes: host.name: description: The host.name diff --git a/processor/resourcedetectionprocessor/internal/gcp/metadata.yaml b/processor/resourcedetectionprocessor/internal/gcp/metadata.yaml index 333b0385700f9..100feaff9685a 100644 --- a/processor/resourcedetectionprocessor/internal/gcp/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/gcp/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/gcp +parent: resourcedetection + resource_attributes: host.name: description: The host.name diff --git a/processor/resourcedetectionprocessor/internal/heroku/metadata.yaml b/processor/resourcedetectionprocessor/internal/heroku/metadata.yaml index 13e9056e856d4..5b913b64ff792 100644 --- a/processor/resourcedetectionprocessor/internal/heroku/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/heroku/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/heroku +parent: resourcedetection + resource_attributes: cloud.provider: description: The cloud.provider diff --git a/processor/resourcedetectionprocessor/internal/openshift/metadata.yaml b/processor/resourcedetectionprocessor/internal/openshift/metadata.yaml index 76104ed7e54b9..edfcb522e4d07 100644 --- a/processor/resourcedetectionprocessor/internal/openshift/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/openshift/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/openshift +parent: resourcedetection + resource_attributes: cloud.provider: description: The cloud.provider diff --git a/processor/resourcedetectionprocessor/internal/system/metadata.yaml b/processor/resourcedetectionprocessor/internal/system/metadata.yaml index 570d25e930360..c237e4268d95b 100644 --- a/processor/resourcedetectionprocessor/internal/system/metadata.yaml +++ b/processor/resourcedetectionprocessor/internal/system/metadata.yaml @@ -1,5 +1,7 @@ type: resourcedetectionprocessor/system +parent: resourcedetection + resource_attributes: host.name: description: The host.name diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/documentation.md b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/documentation.md index b61798491b118..2f0c2bc37be6e 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/documentation.md +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/documentation.md @@ -2,6 +2,8 @@ # hostmetricsreceiver/cpu +**Parent Component:** hostmetrics + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml index 663f50d7f8cb3..675cb7ee85774 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml @@ -1,5 +1,7 @@ type: hostmetricsreceiver/cpu +parent: hostmetrics + sem_conv_version: 1.9.0 attributes: diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/documentation.md b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/documentation.md index 6485b83d2b513..6fa686b080f31 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/documentation.md +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/documentation.md @@ -2,6 +2,8 @@ # hostmetricsreceiver/disk +**Parent Component:** hostmetrics + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/metadata.yaml index 9082d87d2f43f..91f0c60036e5c 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/metadata.yaml @@ -1,5 +1,7 @@ type: hostmetricsreceiver/disk +parent: hostmetrics + sem_conv_version: 1.9.0 attributes: diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/documentation.md b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/documentation.md index d86d80965375f..00ef85a3d2fab 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/documentation.md +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/documentation.md @@ -2,6 +2,8 @@ # hostmetricsreceiver/filesystem +**Parent Component:** hostmetrics + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml index bc5d6873ead67..4b8f8e333e855 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml @@ -1,5 +1,7 @@ type: hostmetricsreceiver/filesystem +parent: hostmetrics + sem_conv_version: 1.9.0 attributes: diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/documentation.md b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/documentation.md index 00cd0916699fe..406eeb6fdd7c3 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/documentation.md +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/documentation.md @@ -2,6 +2,8 @@ # hostmetricsreceiver/load +**Parent Component:** hostmetrics + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/metadata.yaml index 8343eb2b1e234..a3f1abf43d92e 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/metadata.yaml @@ -1,5 +1,7 @@ type: hostmetricsreceiver/load +parent: hostmetrics + sem_conv_version: 1.9.0 metrics: diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/documentation.md b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/documentation.md index 419b9c134e1e4..5f812c301e3ca 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/documentation.md +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/documentation.md @@ -2,6 +2,8 @@ # hostmetricsreceiver/memory +**Parent Component:** hostmetrics + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml index abd570aa36f31..b7596c86d9a43 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml @@ -1,5 +1,7 @@ type: hostmetricsreceiver/memory +parent: hostmetrics + sem_conv_version: 1.9.0 attributes: diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/documentation.md b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/documentation.md index 4fbd17448e147..30a5978f428f0 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/documentation.md +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/documentation.md @@ -2,6 +2,8 @@ # hostmetricsreceiver/network +**Parent Component:** hostmetrics + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/metadata.yaml index 907d56c684a7c..4f02a2cf3dfcc 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/metadata.yaml @@ -1,5 +1,7 @@ type: hostmetricsreceiver/network +parent: hostmetrics + sem_conv_version: 1.9.0 attributes: diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/documentation.md b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/documentation.md index daa3da65677f6..339a5aa87298c 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/documentation.md +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/documentation.md @@ -2,6 +2,8 @@ # hostmetricsreceiver/paging +**Parent Component:** hostmetrics + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml index c39ebb6bd55ff..76e2de2dda1b8 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml @@ -1,5 +1,7 @@ type: hostmetricsreceiver/paging +parent: hostmetrics + sem_conv_version: 1.9.0 attributes: diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/documentation.md b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/documentation.md index 5d529964d56a7..489b1e11a42a5 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/documentation.md +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/documentation.md @@ -2,6 +2,8 @@ # hostmetricsreceiver/processes +**Parent Component:** hostmetrics + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/metadata.yaml index 1273abfb3ae2b..008cdac777e48 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/metadata.yaml @@ -1,5 +1,7 @@ type: hostmetricsreceiver/processes +parent: hostmetrics + sem_conv_version: 1.9.0 attributes: diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/documentation.md b/receiver/hostmetricsreceiver/internal/scraper/processscraper/documentation.md index 5717d3af013d1..36b3b84ac50cb 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/documentation.md +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/documentation.md @@ -2,6 +2,8 @@ # hostmetricsreceiver/process +**Parent Component:** hostmetrics + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml index 1caf14e7d4262..7145cad36a2f9 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml @@ -1,5 +1,7 @@ type: hostmetricsreceiver/process +parent: hostmetrics + sem_conv_version: 1.9.0 resource_attributes: diff --git a/receiver/k8sclusterreceiver/internal/deployment/documentation.md b/receiver/k8sclusterreceiver/internal/deployment/documentation.md index ceebe838564b7..7d81f26a9094e 100644 --- a/receiver/k8sclusterreceiver/internal/deployment/documentation.md +++ b/receiver/k8sclusterreceiver/internal/deployment/documentation.md @@ -2,6 +2,8 @@ # k8s/deployment +**Parent Component:** k8s_cluster + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/k8sclusterreceiver/internal/deployment/metadata.yaml b/receiver/k8sclusterreceiver/internal/deployment/metadata.yaml index 96b7e076fc1c1..cd3d55d00ed1d 100644 --- a/receiver/k8sclusterreceiver/internal/deployment/metadata.yaml +++ b/receiver/k8sclusterreceiver/internal/deployment/metadata.yaml @@ -1,5 +1,7 @@ type: k8s/deployment +parent: k8s_cluster + sem_conv_version: 1.18.0 resource_attributes: diff --git a/receiver/k8sclusterreceiver/internal/hpa/documentation.md b/receiver/k8sclusterreceiver/internal/hpa/documentation.md index 5a7f46104a6cc..ba2576d4c1bfc 100644 --- a/receiver/k8sclusterreceiver/internal/hpa/documentation.md +++ b/receiver/k8sclusterreceiver/internal/hpa/documentation.md @@ -2,6 +2,8 @@ # k8s/hpa +**Parent Component:** k8s_cluster + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/k8sclusterreceiver/internal/hpa/metadata.yaml b/receiver/k8sclusterreceiver/internal/hpa/metadata.yaml index 599dce75cb30e..12f89646ed2e2 100644 --- a/receiver/k8sclusterreceiver/internal/hpa/metadata.yaml +++ b/receiver/k8sclusterreceiver/internal/hpa/metadata.yaml @@ -1,5 +1,7 @@ type: k8s/hpa +parent: k8s_cluster + sem_conv_version: 1.9.0 resource_attributes: diff --git a/receiver/k8sclusterreceiver/internal/namespace/documentation.md b/receiver/k8sclusterreceiver/internal/namespace/documentation.md index 82ceeedd546f9..df78ae28efad5 100644 --- a/receiver/k8sclusterreceiver/internal/namespace/documentation.md +++ b/receiver/k8sclusterreceiver/internal/namespace/documentation.md @@ -2,6 +2,8 @@ # k8s/namespace +**Parent Component:** k8s_cluster + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/k8sclusterreceiver/internal/namespace/metadata.yaml b/receiver/k8sclusterreceiver/internal/namespace/metadata.yaml index 0cc0ec1c48f0b..c63baa00cc806 100644 --- a/receiver/k8sclusterreceiver/internal/namespace/metadata.yaml +++ b/receiver/k8sclusterreceiver/internal/namespace/metadata.yaml @@ -1,5 +1,7 @@ type: k8s/namespace +parent: k8s_cluster + sem_conv_version: 1.18.0 resource_attributes: diff --git a/receiver/k8sclusterreceiver/internal/node/documentation.md b/receiver/k8sclusterreceiver/internal/node/documentation.md index 4e01b53423004..30ecd96d1f3db 100644 --- a/receiver/k8sclusterreceiver/internal/node/documentation.md +++ b/receiver/k8sclusterreceiver/internal/node/documentation.md @@ -2,6 +2,8 @@ # k8s/node +**Parent Component:** k8s_cluster + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/k8sclusterreceiver/internal/node/metadata.yaml b/receiver/k8sclusterreceiver/internal/node/metadata.yaml index d0d745587914e..9aaa6800c3bf2 100644 --- a/receiver/k8sclusterreceiver/internal/node/metadata.yaml +++ b/receiver/k8sclusterreceiver/internal/node/metadata.yaml @@ -1,5 +1,7 @@ type: k8s/node +parent: k8s_cluster + sem_conv_version: 1.18.0 resource_attributes: diff --git a/receiver/k8sclusterreceiver/internal/resourcequota/documentation.md b/receiver/k8sclusterreceiver/internal/resourcequota/documentation.md index 8f167b3085f8b..5d95c83a7aee5 100644 --- a/receiver/k8sclusterreceiver/internal/resourcequota/documentation.md +++ b/receiver/k8sclusterreceiver/internal/resourcequota/documentation.md @@ -2,6 +2,8 @@ # k8s/resourcequota +**Parent Component:** k8s_cluster + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/k8sclusterreceiver/internal/resourcequota/metadata.yaml b/receiver/k8sclusterreceiver/internal/resourcequota/metadata.yaml index 7cdbb1c915ccc..02a98dccb2d2e 100644 --- a/receiver/k8sclusterreceiver/internal/resourcequota/metadata.yaml +++ b/receiver/k8sclusterreceiver/internal/resourcequota/metadata.yaml @@ -1,5 +1,7 @@ type: k8s/resourcequota +parent: k8s_cluster + sem_conv_version: 1.18.0 resource_attributes: diff --git a/receiver/k8sclusterreceiver/internal/statefulset/documentation.md b/receiver/k8sclusterreceiver/internal/statefulset/documentation.md index e0a6e9c082dd1..381b3dc05f560 100644 --- a/receiver/k8sclusterreceiver/internal/statefulset/documentation.md +++ b/receiver/k8sclusterreceiver/internal/statefulset/documentation.md @@ -2,6 +2,8 @@ # k8s/statefulset +**Parent Component:** k8s_cluster + ## Default Metrics The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: diff --git a/receiver/k8sclusterreceiver/internal/statefulset/metadata.yaml b/receiver/k8sclusterreceiver/internal/statefulset/metadata.yaml index a1cc5349acae8..1f98e673d4ff4 100644 --- a/receiver/k8sclusterreceiver/internal/statefulset/metadata.yaml +++ b/receiver/k8sclusterreceiver/internal/statefulset/metadata.yaml @@ -1,5 +1,7 @@ type: k8s/statefulset +parent: k8s_cluster + sem_conv_version: 1.18.0 resource_attributes: