Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase instrument name maximum length from 63 to 255 characters #4434

Merged
merged 7 commits into from Aug 11, 2023

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Aug 10, 2023

Implements specification change: open-telemetry/opentelemetry-specification#3648

@MrAlias MrAlias added pkg:SDK Related to an SDK package Skip Changelog PRs that do not require a CHANGELOG.md entry labels Aug 10, 2023
@MrAlias MrAlias added this to the v1.17.0/v0.40.0 milestone Aug 10, 2023
@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

Merging #4434 (c2b9557) into main (a9552aa) will not change coverage.
The diff coverage is 100.0%.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #4434   +/-   ##
=====================================
  Coverage   78.8%   78.8%           
=====================================
  Files        253     253           
  Lines      20644   20644           
=====================================
  Hits       16281   16281           
  Misses      4014    4014           
  Partials     349     349           
Files Changed Coverage Δ
sdk/metric/meter.go 85.8% <100.0%> (ø)

sdk/metric/meter_test.go Outdated Show resolved Hide resolved
@CharlieTLe
Copy link
Contributor

The open-telemetry/opentelemetry-specification#3648 change seems to reference the instrument name max length changing, but here we are changing the max length of the metric name. Is there no constraint on the name of the instrument in the go sdk?

@pellared
Copy link
Member

Is there no constraint on the name of the instrument in the go sdk?

@CharlieTLe , correct. Just "not empty". For reference: open-telemetry/opentelemetry-specification#3579 (comment)

@pellared pellared merged commit e9014a2 into open-telemetry:main Aug 11, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:SDK Related to an SDK package Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants