From 76a9ab5967bfd91b6e4b1ef9dd4f87eb606fd6de Mon Sep 17 00:00:00 2001 From: Rainrider Date: Wed, 29 Oct 2025 21:45:57 +0100 Subject: [PATCH] Fix incubating namespace --- script/semantic-conventions/templates/registry/php/weaver.yaml | 2 +- src/SemConv/Incubating/Metrics/DbIncubatingMetrics.php | 2 +- src/SemConv/Incubating/Metrics/DnsIncubatingMetrics.php | 2 +- src/SemConv/Incubating/Metrics/HttpIncubatingMetrics.php | 2 +- src/SemConv/Incubating/Metrics/OtelIncubatingMetrics.php | 2 +- src/SemConv/ResourceAttributeValues.php | 2 +- src/SemConv/ResourceAttributes.php | 2 +- src/SemConv/TraceAttributeValues.php | 2 +- src/SemConv/TraceAttributes.php | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/script/semantic-conventions/templates/registry/php/weaver.yaml b/script/semantic-conventions/templates/registry/php/weaver.yaml index c10087558..0016e01db 100644 --- a/script/semantic-conventions/templates/registry/php/weaver.yaml +++ b/script/semantic-conventions/templates/registry/php/weaver.yaml @@ -77,7 +77,7 @@ templates: }) | map({ root_namespace: .root_namespace, metrics: .metrics, - namespace: "OpenTelemetry\\SemConv\\Unstable\\Metrics", + namespace: "OpenTelemetry\\SemConv\\Incubating\\Metrics", incubating: true, }) application_mode: each diff --git a/src/SemConv/Incubating/Metrics/DbIncubatingMetrics.php b/src/SemConv/Incubating/Metrics/DbIncubatingMetrics.php index d2b1d9e14..89b6e1e73 100644 --- a/src/SemConv/Incubating/Metrics/DbIncubatingMetrics.php +++ b/src/SemConv/Incubating/Metrics/DbIncubatingMetrics.php @@ -4,7 +4,7 @@ declare(strict_types=1); -namespace OpenTelemetry\SemConv\Unstable\Metrics; +namespace OpenTelemetry\SemConv\Incubating\Metrics; /** * Metrics for db. diff --git a/src/SemConv/Incubating/Metrics/DnsIncubatingMetrics.php b/src/SemConv/Incubating/Metrics/DnsIncubatingMetrics.php index b9d0b4e01..323d08050 100644 --- a/src/SemConv/Incubating/Metrics/DnsIncubatingMetrics.php +++ b/src/SemConv/Incubating/Metrics/DnsIncubatingMetrics.php @@ -4,7 +4,7 @@ declare(strict_types=1); -namespace OpenTelemetry\SemConv\Unstable\Metrics; +namespace OpenTelemetry\SemConv\Incubating\Metrics; /** * Metrics for dns. diff --git a/src/SemConv/Incubating/Metrics/HttpIncubatingMetrics.php b/src/SemConv/Incubating/Metrics/HttpIncubatingMetrics.php index 99d1bbd30..796f86de8 100644 --- a/src/SemConv/Incubating/Metrics/HttpIncubatingMetrics.php +++ b/src/SemConv/Incubating/Metrics/HttpIncubatingMetrics.php @@ -4,7 +4,7 @@ declare(strict_types=1); -namespace OpenTelemetry\SemConv\Unstable\Metrics; +namespace OpenTelemetry\SemConv\Incubating\Metrics; /** * Metrics for http. diff --git a/src/SemConv/Incubating/Metrics/OtelIncubatingMetrics.php b/src/SemConv/Incubating/Metrics/OtelIncubatingMetrics.php index 7e4ee8390..17f241d4d 100644 --- a/src/SemConv/Incubating/Metrics/OtelIncubatingMetrics.php +++ b/src/SemConv/Incubating/Metrics/OtelIncubatingMetrics.php @@ -4,7 +4,7 @@ declare(strict_types=1); -namespace OpenTelemetry\SemConv\Unstable\Metrics; +namespace OpenTelemetry\SemConv\Incubating\Metrics; /** * Metrics for otel. diff --git a/src/SemConv/ResourceAttributeValues.php b/src/SemConv/ResourceAttributeValues.php index 56717c09a..4cba857b5 100644 --- a/src/SemConv/ResourceAttributeValues.php +++ b/src/SemConv/ResourceAttributeValues.php @@ -7,7 +7,7 @@ namespace OpenTelemetry\SemConv; /** - * @deprecated Use {@see OpenTelemetry\SemConv\Attributes}\* or {@see OpenTelemetry\SemConv\Unstable\Attributes}\* instead. + * @deprecated Use {@see OpenTelemetry\SemConv\Attributes}\* or {@see OpenTelemetry\SemConv\Incubating\Attributes}\* instead. */ interface ResourceAttributeValues { diff --git a/src/SemConv/ResourceAttributes.php b/src/SemConv/ResourceAttributes.php index 6bc2ae6af..e8f1fc94d 100644 --- a/src/SemConv/ResourceAttributes.php +++ b/src/SemConv/ResourceAttributes.php @@ -7,7 +7,7 @@ namespace OpenTelemetry\SemConv; /** - * @deprecated Use {@see OpenTelemetry\SemConv\Attributes}\* or {@see OpenTelemetry\SemConv\Unstable\Attributes}\* instead. + * @deprecated Use {@see OpenTelemetry\SemConv\Attributes}\* or {@see OpenTelemetry\SemConv\Incubating\Attributes}\* instead. */ interface ResourceAttributes { diff --git a/src/SemConv/TraceAttributeValues.php b/src/SemConv/TraceAttributeValues.php index 1b08509b0..4577ab117 100644 --- a/src/SemConv/TraceAttributeValues.php +++ b/src/SemConv/TraceAttributeValues.php @@ -7,7 +7,7 @@ namespace OpenTelemetry\SemConv; /** - * @deprecated Use {@see OpenTelemetry\SemConv\Attributes}\* or {@see OpenTelemetry\SemConv\Unstable\Attributes}\* instead. + * @deprecated Use {@see OpenTelemetry\SemConv\Attributes}\* or {@see OpenTelemetry\SemConv\Incubating\Attributes}\* instead. */ interface TraceAttributeValues { diff --git a/src/SemConv/TraceAttributes.php b/src/SemConv/TraceAttributes.php index 1b7291d28..58593727c 100644 --- a/src/SemConv/TraceAttributes.php +++ b/src/SemConv/TraceAttributes.php @@ -7,7 +7,7 @@ namespace OpenTelemetry\SemConv; /** - * @deprecated Use {@see OpenTelemetry\SemConv\Attributes}\* or {@see OpenTelemetry\SemConv\Unstable\Attributes}\* instead. + * @deprecated Use {@see OpenTelemetry\SemConv\Attributes}\* or {@see OpenTelemetry\SemConv\Incubating\Attributes}\* instead. */ interface TraceAttributes {