Generate semconv/v1.30.0#6240
Conversation
14a4d8f to
2fc178b
Compare
pellared
left a comment
There was a problem hiding this comment.
Nice work 👍
How have you created the PR description and content of MIGRATION.md?
Should it be described and part of Semantic Convention Generation described in RELEASING.md?
I used this tooling: #5898 (comment) I wanted to know if people found it useful first, but could see adding it to the SOP. |
|
To be clear, I do not plan to change our docs or policies for semantic convention generation in this PR. I am going to scope it to generating |
Makes totally sense. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6240 +/- ##
=======================================
- Coverage 82.2% 82.2% -0.1%
=======================================
Files 273 273
Lines 23739 23739
=======================================
- Hits 19532 19531 -1
- Misses 3858 3859 +1
Partials 349 349 |
## Overview This release is the last to support [Go 1.22]. The next release will require at least [Go 1.23]. ### Added - Add `ValueFromAttribute` and `KeyValueFromAttribute` in `go.opentelemetry.io/otel/log`. (#6180) - Add `EventName` and `SetEventName` to `Record` in `go.opentelemetry.io/otel/log`. (#6187) - Add `EventName` to `RecordFactory` in `go.opentelemetry.io/otel/log/logtest`. (#6187) - `AssertRecordEqual` in `go.opentelemetry.io/otel/log/logtest` checks `Record.EventName`. (#6187) - Add `EventName` and `SetEventName` to `Record` in `go.opentelemetry.io/otel/sdk/log`. (#6193) - Add `EventName` to `RecordFactory` in `go.opentelemetry.io/otel/sdk/log/logtest`. (#6193) - Emit `Record.EventName` field in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc`. (#6211) - Emit `Record.EventName` field in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`. (#6211) - Emit `Record.EventName` field in `go.opentelemetry.io/otel/exporters/stdout/stdoutlog` (#6210) - The `go.opentelemetry.io/otel/semconv/v1.28.0` package. The package contains semantic conventions from the `v1.28.0` version of the OpenTelemetry Semantic Conventions. See the [migration documentation](./semconv/v1.28.0/MIGRATION.md) for information on how to upgrade from `go.opentelemetry.io/otel/semconv/v1.27.0`(#6236) - The `go.opentelemetry.io/otel/semconv/v1.30.0` package. The package contains semantic conventions from the `v1.30.0` version of the OpenTelemetry Semantic Conventions. See the [migration documentation](./semconv/v1.30.0/MIGRATION.md) for information on how to upgrade from `go.opentelemetry.io/otel/semconv/v1.28.0`(#6240) - Document the pitfalls of using `Resource` as a comparable type. `Resource.Equal` and `Resource.Equivalent` should be used instead. (#6272) - Support [Go 1.24]. (#6304) - Add `FilterProcessor` and `EnabledParameters` in `go.opentelemetry.io/otel/sdk/log`. It replaces `go.opentelemetry.io/otel/sdk/log/internal/x.FilterProcessor`. Compared to previous version it additionally gives the possibility to filter by resource and instrumentation scope. (#6317) ### Changed - Update `github.com/prometheus/common` to v0.62.0., which changes the `NameValidationScheme` to `NoEscaping`. This allows metrics names to keep original delimiters (e.g. `.`), rather than replacing with underscores. This is controlled by the `Content-Type` header, or can be reverted by setting `NameValidationScheme` to `LegacyValidation` in `github.com/prometheus/common/model`. (#6198) ### Fixes - Eliminate goroutine leak for the processor returned by `NewSimpleSpanProcessor` when `Shutdown` is called and the passed `ctx` is canceled and `SpanExporter.Shutdown` has not returned. (#6368) - Eliminate goroutine leak for the processor returned by `NewBatchSpanProcessor` when `ForceFlush` is called and the passed `ctx` is canceled and `SpanExporter.Export` has not returned. (#6369) [Go 1.23]: https://go.dev/doc/go1.23 [Go 1.22]: https://go.dev/doc/go1.22 --------- Co-authored-by: Robert Pająk <pellared@hotmail.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Resolve #6227
Generates the v1.30.0 version of semantic conventions in the added go.opentelemetry.io/otel/semconv/v1.30.0 package.
Note:
v1.29.0is skipped (#6228)Key differences from
v1.28.0Deprecated and dropped in
v1.30.0CodeColumnCodeColumnKeyCodeFunctionCodeFunctionKeyDBCassandraConsistencyLevelAllDBCassandraConsistencyLevelAnyDBCassandraConsistencyLevelEachQuorumDBCassandraConsistencyLevelKeyDBCassandraConsistencyLevelLocalOneDBCassandraConsistencyLevelLocalQuorumDBCassandraConsistencyLevelLocalSerialDBCassandraConsistencyLevelOneDBCassandraConsistencyLevelQuorumDBCassandraConsistencyLevelSerialDBCassandraConsistencyLevelThreeDBCassandraConsistencyLevelTwoDBCassandraCoordinatorDCDBCassandraCoordinatorDCKeyDBCassandraCoordinatorIDDBCassandraCoordinatorIDKeyDBCassandraIdempotenceDBCassandraIdempotenceKeyDBCassandraPageSizeDBCassandraPageSizeKeyDBCassandraSpeculativeExecutionCountDBCassandraSpeculativeExecutionCountKeyDBCosmosDBClientIDDBCosmosDBClientIDKeyDBCosmosDBConnectionModeDirectDBCosmosDBConnectionModeGatewayDBCosmosDBConnectionModeKeyDBCosmosDBOperationTypeBatchDBCosmosDBOperationTypeCreateDBCosmosDBOperationTypeDeleteDBCosmosDBOperationTypeExecuteDBCosmosDBOperationTypeExecuteJavascriptDBCosmosDBOperationTypeHeadDBCosmosDBOperationTypeHeadFeedDBCosmosDBOperationTypeInvalidDBCosmosDBOperationTypeKeyDBCosmosDBOperationTypePatchDBCosmosDBOperationTypeQueryDBCosmosDBOperationTypeQueryPlanDBCosmosDBOperationTypeReadDBCosmosDBOperationTypeReadFeedDBCosmosDBOperationTypeReplaceDBCosmosDBOperationTypeUpsertDBCosmosDBRequestChargeDBCosmosDBRequestChargeKeyDBCosmosDBRequestContentLengthDBCosmosDBRequestContentLengthKeyDBCosmosDBSubStatusCodeDBCosmosDBSubStatusCodeKeyDBElasticsearchNodeNameDBElasticsearchNodeNameKeyDBSystemAdabasDBSystemCacheDBSystemCassandraDBSystemClickhouseDBSystemCloudscapeDBSystemCockroachdbDBSystemColdfusionDBSystemCosmosDBDBSystemCouchDBDBSystemCouchbaseDBSystemDb2DBSystemDerbyDBSystemDynamoDBDBSystemEDBDBSystemElasticsearchDBSystemFilemakerDBSystemFirebirdDBSystemFirstSQLDBSystemGeodeDBSystemH2DBSystemHBaseDBSystemHSQLDBDBSystemHanaDBDBSystemHiveDBSystemInfluxdbDBSystemInformixDBSystemIngresDBSystemInstantDBDBSystemInterbaseDBSystemIntersystemsCacheDBSystemKeyDBSystemMSSQLDBSystemMariaDBDBSystemMaxDBDBSystemMemcachedDBSystemMongoDBDBSystemMssqlcompactDBSystemMySQLDBSystemNeo4jDBSystemNetezzaDBSystemOpensearchDBSystemOracleDBSystemOtherSQLDBSystemPervasiveDBSystemPointbaseDBSystemPostgreSQLDBSystemProgressDBSystemRedisDBSystemRedshiftDBSystemSpannerDBSystemSqliteDBSystemSybaseDBSystemTeradataDBSystemTrinoDBSystemVerticaEventNameEventNameKeyExceptionEscapedExceptionEscapedKeyGenAIOpenaiRequestSeedGenAIOpenaiRequestSeedKeyProcessExecutableBuildIDProfilingProcessExecutableBuildIDProfilingKeySystemNetworkStateCloseSystemNetworkStateCloseWaitSystemNetworkStateClosingSystemNetworkStateDeleteSystemNetworkStateEstablishedSystemNetworkStateFinWait1SystemNetworkStateFinWait2SystemNetworkStateKeySystemNetworkStateLastAckSystemNetworkStateListenSystemNetworkStateSynRecvSystemNetworkStateSynSentSystemNetworkStateTimeWaitVCSRepositoryChangeIDVCSRepositoryChangeIDKeyVCSRepositoryChangeTitleVCSRepositoryChangeTitleKeyVCSRepositoryRefNameVCSRepositoryRefNameKeyVCSRepositoryRefRevisionVCSRepositoryRefRevisionKeyVCSRepositoryRefTypeBranchVCSRepositoryRefTypeKeyVCSRepositoryRefTypeTagAdded in
v1.30.0AWSExtendedRequestIDAWSExtendedRequestIDKeyAzureClientIDAzureClientIDKeyAzureCosmosDBClientActiveInstanceCountDescriptionAzureCosmosDBClientActiveInstanceCountNameAzureCosmosDBClientActiveInstanceCountUnitAzureCosmosDBClientOperationRequestChargeDescriptionAzureCosmosDBClientOperationRequestChargeNameAzureCosmosDBClientOperationRequestChargeUnitAzureCosmosDBConnectionModeDirectAzureCosmosDBConnectionModeGatewayAzureCosmosDBConnectionModeKeyAzureCosmosDBConsistencyLevelBoundedStalenessAzureCosmosDBConsistencyLevelConsistentPrefixAzureCosmosDBConsistencyLevelEventualAzureCosmosDBConsistencyLevelKeyAzureCosmosDBConsistencyLevelSessionAzureCosmosDBConsistencyLevelStrongAzureCosmosDBOperationContactedRegionsAzureCosmosDBOperationContactedRegionsKeyAzureCosmosDBOperationRequestChargeAzureCosmosDBOperationRequestChargeKeyAzureCosmosDBRequestBodySizeAzureCosmosDBRequestBodySizeKeyAzureCosmosDBResponseSubStatusCodeAzureCosmosDBResponseSubStatusCodeKeyCICDPipelineResultCancellationCICDPipelineResultErrorCICDPipelineResultFailureCICDPipelineResultKeyCICDPipelineResultSkipCICDPipelineResultSuccessCICDPipelineResultTimeoutCICDPipelineRunActiveDescriptionCICDPipelineRunActiveNameCICDPipelineRunActiveUnitCICDPipelineRunDurationDescriptionCICDPipelineRunDurationNameCICDPipelineRunDurationUnitCICDPipelineRunErrorsDescriptionCICDPipelineRunErrorsNameCICDPipelineRunErrorsUnitCICDPipelineRunStateExecutingCICDPipelineRunStateFinalizingCICDPipelineRunStateKeyCICDPipelineRunStatePendingCICDSystemComponentCICDSystemComponentKeyCICDSystemErrorsDescriptionCICDSystemErrorsNameCICDSystemErrorsUnitCICDWorkerCountDescriptionCICDWorkerCountNameCICDWorkerCountUnitCICDWorkerStateAvailableCICDWorkerStateBusyCICDWorkerStateKeyCICDWorkerStateOfflineCassandraConsistencyLevelAllCassandraConsistencyLevelAnyCassandraConsistencyLevelEachQuorumCassandraConsistencyLevelKeyCassandraConsistencyLevelLocalOneCassandraConsistencyLevelLocalQuorumCassandraConsistencyLevelLocalSerialCassandraConsistencyLevelOneCassandraConsistencyLevelQuorumCassandraConsistencyLevelSerialCassandraConsistencyLevelThreeCassandraConsistencyLevelTwoCassandraCoordinatorDCCassandraCoordinatorDCKeyCassandraCoordinatorIDCassandraCoordinatorIDKeyCassandraPageSizeCassandraPageSizeKeyCassandraQueryIdempotentCassandraQueryIdempotentKeyCassandraSpeculativeExecutionCountCassandraSpeculativeExecutionCountKeyCloudPlatformOracleCloudComputeCloudPlatformOracleCloudOkeCloudProviderOracleCloudCodeColumnNumberCodeColumnNumberKeyCodeFunctionNameCodeFunctionNameKeyContainerUptimeDescriptionContainerUptimeNameContainerUptimeUnitDBClientCosmosDBActiveInstanceCountDescriptionDBClientCosmosDBActiveInstanceCountNameDBClientCosmosDBActiveInstanceCountUnitDBClientCosmosDBOperationRequestChargeDescriptionDBClientCosmosDBOperationRequestChargeNameDBClientCosmosDBOperationRequestChargeUnitDBClientResponseReturnedRowsDescriptionDBClientResponseReturnedRowsNameDBClientResponseReturnedRowsUnitDBQuerySummaryDBQuerySummaryKeyDBResponseReturnedRowsDBResponseReturnedRowsKeyDBSystemNameAWSDynamoDBDBSystemNameAWSRedshiftDBSystemNameActianIngresDBSystemNameAzureCosmosDBDBSystemNameCassandraDBSystemNameClickhouseDBSystemNameCockroachdbDBSystemNameCouchDBDBSystemNameCouchbaseDBSystemNameDerbyDBSystemNameElasticsearchDBSystemNameFirebirdsqlDBSystemNameGCPSpannerDBSystemNameGeodeDBSystemNameH2databaseDBSystemNameHBaseDBSystemNameHSQLDBDBSystemNameHiveDBSystemNameIbmDb2DBSystemNameIbmInformixDBSystemNameIbmNetezzaDBSystemNameInfluxdbDBSystemNameInstantDBDBSystemNameIntersystemsCacheDBSystemNameKeyDBSystemNameMariaDBDBSystemNameMemcachedDBSystemNameMicrosoftSQLServerDBSystemNameMongoDBDBSystemNameMySQLDBSystemNameNeo4jDBSystemNameOpensearchDBSystemNameOracleDBDBSystemNameOtherSQLDBSystemNamePostgreSQLDBSystemNameRedisDBSystemNameSapHanaDBSystemNameSapMaxDBDBSystemNameSoftwareagAdabasDBSystemNameSqliteDBSystemNameTeradataDBSystemNameTrinoElasticsearchNodeNameElasticsearchNodeNameKeyFeatureFlagContextIDFeatureFlagContextIDKeyFeatureFlagEvaluationErrorMessageFeatureFlagEvaluationErrorMessageKeyFeatureFlagEvaluationReasonCachedFeatureFlagEvaluationReasonDefaultFeatureFlagEvaluationReasonDisabledFeatureFlagEvaluationReasonErrorFeatureFlagEvaluationReasonKeyFeatureFlagEvaluationReasonSplitFeatureFlagEvaluationReasonStaleFeatureFlagEvaluationReasonStaticFeatureFlagEvaluationReasonTargetingMatchFeatureFlagEvaluationReasonUnknownFeatureFlagSetIDFeatureFlagSetIDKeyFeatureFlagVersionFeatureFlagVersionKeyGenAIOpenaiResponseSystemFingerprintGenAIOpenaiResponseSystemFingerprintKeyGenAIOperationNameEmbeddingsGenAIRequestEncodingFormatsGenAIRequestEncodingFormatsKeyGenAIRequestSeedGenAIRequestSeedKeyGenAISystemAWSBedrockGenAISystemAzAIInferenceGenAISystemAzAIOpenaiGenAISystemDeepseekGenAISystemGeminiGenAISystemGroqGenAISystemIbmWatsonxAIGenAISystemMistralAIGenAISystemPerplexityGenAISystemXaiGeoContinentCodeAfGeoContinentCodeAnGeoContinentCodeAsGeoContinentCodeEuGeoContinentCodeKeyGeoContinentCodeNaGeoContinentCodeOcGeoContinentCodeSaGeoCountryIsoCodeGeoCountryIsoCodeKeyGeoLocalityNameGeoLocalityNameKeyGeoLocationLatGeoLocationLatKeyGeoLocationLonGeoLocationLonKeyGeoPostalCodeGeoPostalCodeKeyGeoRegionIsoCodeGeoRegionIsoCodeKeyK8SCronJobActiveJobsDescriptionK8SCronJobActiveJobsNameK8SCronJobActiveJobsUnitK8SDaemonSetCurrentScheduledNodesDescriptionK8SDaemonSetCurrentScheduledNodesNameK8SDaemonSetCurrentScheduledNodesUnitK8SDaemonSetDesiredScheduledNodesDescriptionK8SDaemonSetDesiredScheduledNodesNameK8SDaemonSetDesiredScheduledNodesUnitK8SDaemonSetMisscheduledNodesDescriptionK8SDaemonSetMisscheduledNodesNameK8SDaemonSetMisscheduledNodesUnitK8SDaemonSetReadyNodesDescriptionK8SDaemonSetReadyNodesNameK8SDaemonSetReadyNodesUnitK8SDeploymentAvailablePodsDescriptionK8SDeploymentAvailablePodsNameK8SDeploymentAvailablePodsUnitK8SDeploymentDesiredPodsDescriptionK8SDeploymentDesiredPodsNameK8SDeploymentDesiredPodsUnitK8SHpaCurrentPodsDescriptionK8SHpaCurrentPodsNameK8SHpaCurrentPodsUnitK8SHpaDesiredPodsDescriptionK8SHpaDesiredPodsNameK8SHpaDesiredPodsUnitK8SHpaMaxPodsDescriptionK8SHpaMaxPodsNameK8SHpaMaxPodsUnitK8SHpaMinPodsDescriptionK8SHpaMinPodsNameK8SHpaMinPodsUnitK8SJobActivePodsDescriptionK8SJobActivePodsNameK8SJobActivePodsUnitK8SJobDesiredSuccessfulPodsDescriptionK8SJobDesiredSuccessfulPodsNameK8SJobDesiredSuccessfulPodsUnitK8SJobFailedPodsDescriptionK8SJobFailedPodsNameK8SJobFailedPodsUnitK8SJobMaxParallelPodsDescriptionK8SJobMaxParallelPodsNameK8SJobMaxParallelPodsUnitK8SJobSuccessfulPodsDescriptionK8SJobSuccessfulPodsNameK8SJobSuccessfulPodsUnitK8SNamespacePhaseActiveK8SNamespacePhaseDescriptionK8SNamespacePhaseKeyK8SNamespacePhaseNameK8SNamespacePhaseTerminatingK8SNamespacePhaseUnitK8SNodeNetworkErrorsDescriptionK8SNodeNetworkErrorsNameK8SNodeNetworkErrorsUnitK8SNodeNetworkIoDescriptionK8SNodeNetworkIoNameK8SNodeNetworkIoUnitK8SNodeUptimeDescriptionK8SNodeUptimeNameK8SNodeUptimeUnitK8SPodNetworkErrorsDescriptionK8SPodNetworkErrorsNameK8SPodNetworkErrorsUnitK8SPodNetworkIoDescriptionK8SPodNetworkIoNameK8SPodNetworkIoUnitK8SPodUptimeDescriptionK8SPodUptimeNameK8SPodUptimeUnitK8SReplicaSetAvailablePodsDescriptionK8SReplicaSetAvailablePodsNameK8SReplicaSetAvailablePodsUnitK8SReplicaSetDesiredPodsDescriptionK8SReplicaSetDesiredPodsNameK8SReplicaSetDesiredPodsUnitK8SReplicationControllerAvailablePodsDescriptionK8SReplicationControllerAvailablePodsNameK8SReplicationControllerAvailablePodsUnitK8SReplicationControllerDesiredPodsDescriptionK8SReplicationControllerDesiredPodsNameK8SReplicationControllerDesiredPodsUnitK8SStatefulSetCurrentPodsDescriptionK8SStatefulSetCurrentPodsNameK8SStatefulSetCurrentPodsUnitK8SStatefulSetDesiredPodsDescriptionK8SStatefulSetDesiredPodsNameK8SStatefulSetDesiredPodsUnitK8SStatefulSetReadyPodsDescriptionK8SStatefulSetReadyPodsNameK8SStatefulSetReadyPodsUnitK8SStatefulSetUpdatedPodsDescriptionK8SStatefulSetUpdatedPodsNameK8SStatefulSetUpdatedPodsUnitNetworkConnectionStateCloseWaitNetworkConnectionStateClosedNetworkConnectionStateClosingNetworkConnectionStateEstablishedNetworkConnectionStateFinWait1NetworkConnectionStateFinWait2NetworkConnectionStateKeyNetworkConnectionStateLastAckNetworkConnectionStateListenNetworkConnectionStateSynReceivedNetworkConnectionStateSynSentNetworkConnectionStateTimeWaitNetworkInterfaceNameNetworkInterfaceNameKeyProcessExecutableBuildIDHtlhashProcessExecutableBuildIDHtlhashKeyProcessLinuxCgroupProcessLinuxCgroupKeyProfileFrameTypeBeamSecurityRuleCategorySecurityRuleCategoryKeySecurityRuleDescriptionSecurityRuleDescriptionKeySecurityRuleLicenseSecurityRuleLicenseKeySecurityRuleNameSecurityRuleNameKeySecurityRuleReferenceSecurityRuleReferenceKeySecurityRuleRulesetNameSecurityRuleRulesetNameKeySecurityRuleUUIDSecurityRuleUUIDKeySecurityRuleVersionSecurityRuleVersionKeySystemUptimeDescriptionSystemUptimeNameSystemUptimeUnitUserAgentSyntheticTypeBotUserAgentSyntheticTypeKeyUserAgentSyntheticTypeTestVCSChangeCountDescriptionVCSChangeCountNameVCSChangeCountUnitVCSChangeDurationDescriptionVCSChangeDurationNameVCSChangeDurationUnitVCSChangeIDVCSChangeIDKeyVCSChangeStateClosedVCSChangeStateKeyVCSChangeStateMergedVCSChangeStateOpenVCSChangeStateWipVCSChangeTimeToApprovalDescriptionVCSChangeTimeToApprovalNameVCSChangeTimeToApprovalUnitVCSChangeTimeToMergeDescriptionVCSChangeTimeToMergeNameVCSChangeTimeToMergeUnitVCSChangeTitleVCSChangeTitleKeyVCSContributorCountDescriptionVCSContributorCountNameVCSContributorCountUnitVCSLineChangeTypeAddedVCSLineChangeTypeKeyVCSLineChangeTypeRemovedVCSRefBaseNameVCSRefBaseNameKeyVCSRefBaseRevisionVCSRefBaseRevisionKeyVCSRefBaseTypeBranchVCSRefBaseTypeKeyVCSRefBaseTypeTagVCSRefCountDescriptionVCSRefCountNameVCSRefCountUnitVCSRefHeadNameVCSRefHeadNameKeyVCSRefHeadRevisionVCSRefHeadRevisionKeyVCSRefHeadTypeBranchVCSRefHeadTypeKeyVCSRefHeadTypeTagVCSRefLinesDeltaDescriptionVCSRefLinesDeltaNameVCSRefLinesDeltaUnitVCSRefRevisionsDeltaDescriptionVCSRefRevisionsDeltaNameVCSRefRevisionsDeltaUnitVCSRefTimeDescriptionVCSRefTimeNameVCSRefTimeUnitVCSRefTypeBranchVCSRefTypeKeyVCSRefTypeTagVCSRepositoryCountDescriptionVCSRepositoryCountNameVCSRepositoryCountUnitVCSRepositoryNameVCSRepositoryNameKeyVCSRevisionDeltaDirectionAheadVCSRevisionDeltaDirectionBehindVCSRevisionDeltaDirectionKey