8000 [EndGoal] [DoNotMerge] Extend the set of attribute value types by pellared · Pull Request #4636 · open-telemetry/opentelemetry-specification · GitHub
[go: up one dir, main page]

Skip to content

Conversation

pellared
Copy link
Member
@pellared pellared commented Aug 26, 2025

@pellared pellared changed the title [WIP] Extend the set of standard attribute value types [WIP] Extend the set of attribute value types Aug 26, 2025
@pellared pellared changed the title [WIP] Extend the set of attribute value types [WIP] [End Goal] Extend the set of attribute value types Aug 26, 2025
@pellared pellared changed the title [WIP] [End Goal] Extend the set of attribute value types [End Goal] Extend the set of attribute value types Aug 26, 2025
@pellared pellared changed the title [End Goal] Extend the set of attribute value types [EndGoal] [DoNotMerge] Extend the set of attribute value types Aug 26, 2025
@pellared pellared requested a review from Copilot August 26, 2025 16:04
Copilot

This comment was marked as outdated.

pellared and others added 2 commits August 26, 2025 18:15
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
10000
@pellared pellared requested a review from Copilot August 26, 2025 17:43
Copilot

This comment was marked as outdated.

@pellared pellared requested a review from Copilot September 3, 2025 07:46
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR extends the OpenTelemetry attribute value types by replacing limited "standard attributes" with a more comprehensive "attribute" definition that supports complex values. The changes align with OTEP 4485 and related specifications to support arrays, maps, byte arrays, and empty values in addition to primitive types.

  • Replaces references to "standard attribute" with "attribute" throughout the specification
  • Updates attribute type definitions to use AnyValue instead of restricted primitive types
  • Consolidates attribute value type definitions by removing duplicate type definitions from logs data model
  • Updates attribute limits to handle complex value types including recursive application to nested structures

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
specification/common/README.md Major restructuring to define AnyValue and comprehensive attribute types, consolidating previously scattered definitions
specification/logs/data-model.md Removes duplicate type definitions and updates references to use centralized AnyValue definition
specification/logs/api.md Removes outdated status section about standard attribute conversion
specification/resource/data-model.md Updates attribute type references from "standard attribute value" to "attribute value"
specification/resource/sdk.md Updates documentation link text from "standard attributes" to "attributes"
specification/entities/data-model.md Updates entity field types to use general attribute definition instead of restricted types
specification/common/attribute-type-mapping.md Adds empty value conversion rules for AnyValue
oteps/entities/0256-entities-data-model.md Updates broken internal links to use versioned external links
oteps/4485-extending-attributes-to-support-complex-values.md Fixes broken internal link reference

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Sep 16, 2025
@pellared pellared removed the Stale label Sep 16, 2025
Copy link
9450 github-actions bot commented Oct 2, 2025

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0