-
Notifications
You must be signed in to change notification settings - Fork 1.9k
cmd/mdatagen: introduce additional metadata for deprecated metrics #14408
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
Open
Syedowais312
wants to merge
38
commits into
open-telemetry:main
Choose a base branch
from
Syedowais312:fix/mdatagen-deprecated-metrics
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+368
−59
Open
Changes from 34 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
ec2b989
Fix mdatagen metadata loading to correctly handle deprecated metric f…
Syedowais312 37c5ba3
Update changelog for deprecated mdatagen metrics
Syedowais312 d6efd8b
Update changelog for deprecated mdatagen metrics-2
Syedowais312 1aa9d22
mdatagen: fix deprecated metric validation
Syedowais312 2d5acb4
mdatagen: enforce consistency between deprecated metrics and stability
Syedowais312 24d685a
Update cmd/mdatagen/metadata-schema.yaml
Syedowais312 b04ca26
Update cmd/mdatagen/metadata-schema.yaml
Syedowais312 71c5c87
Update cmd/mdatagen/metadata-schema.yaml
Syedowais312 6416001
mdatagen: fix deprecated metrics validation and schema
Syedowais312 688ecbd
add gogenerate changes
Syedowais312 d665c56
added license comment
Syedowais312 862aaaa
cmd/mdatagen: add test tp improve code coverage
Syedowais312 f85e8de
cmd/mdatagen: fix lint error - use assert.Empty instead of assert.Equ…
Syedowais312 96b6bdc
cmd/mdatagen: fix Stability.Unmarshal to support 'from' field and imp…
Syedowais312 cc6183d
Update .chloggen/fix_mdatagen-deprecated-metrics.yaml
Syedowais312 47e2d5e
Update changelog and removed deprecated stability validation test
Syedowais312 e408990
Clean up comments in Stability.Unmarshal method
Syedowais312 86670e9
Update metric.go
Syedowais312 75d4302
fix: lint
Syedowais312 17b7aba
fix: .chloggen
Syedowais312 e329b88
mdatagen: restore stability display to pre-PR behavior
Syedowais312 780ac78
WIP: update generated docs after stability handling changes
Syedowais312 cce9d72
mdatagen: validate deprecated metadata and align generated docs
Syedowais312 4f0bd8b
Update cmd/mdatagen/internal/metric.go
Syedowais312 27ea8e3
cmd/mdatagen: run gogenerate
Syedowais312 6ec7d80
Update cmd/mdatagen/internal/templates/documentation.md.tmpl
Syedowais312 a1cec0f
Update cmd/mdatagen/internal/templates/documentation.md.tmpl
Syedowais312 14fc754
Update cmd/mdatagen/internal/metadata.go
Syedowais312 7e477e7
Update cmd/mdatagen/internal/metric.go
Syedowais312 60b6888
Update gogenerate
Syedowais312 804526f
Merge branch 'main' into fix/mdatagen-deprecated-metrics
Syedowais312 c10cc73
Merge branch 'main' into fix/mdatagen-deprecated-metrics
Syedowais312 0c785bd
mdatagen: add stability tests
Syedowais312 b43b826
Remove logging note from metric.go
Syedowais312 f4cec89
mdatagen: add metric validation tests
Syedowais312 faee2b4
Fix deprecated.since version to match original from value
Syedowais312 659de09
Fix deprecated.since version to match original from value
Syedowais312 e8dfbf9
removed unrelated tests from metrics_test
Syedowais312 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Use this changelog template to create an entry for release notes. | ||
|
|
||
| # 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. receiver/otlp) | ||
| component: cmd/mdatagen | ||
|
|
||
| # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
| note: "Introduce additional metadata (the version since the deprecation started, and the deprecation reason) for deprecated metrics." | ||
|
|
||
| # One or more tracking issues or pull requests related to the change | ||
| issues: [14113] | ||
|
|
||
| # (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: | ||
|
|
||
| # Optional: The change log or logs in which this entry should be included. | ||
| # e.g. '[user]' or '[user, api]' | ||
| # Include 'user' if the change is relevant to end users. | ||
| # Include 'api' if there is a change to a library API. | ||
| # Default: '[user]' | ||
| change_logs: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.