Skip to content

Commit 7dc37bb

Browse files
authored
Merge branch 'main' into feat/confignet-npipe-security-descriptor
2 parents 3048d48 + 52e6bf4 commit 7dc37bb

502 files changed

Lines changed: 21636 additions & 6635 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.chloggen/codeboten_configoptional.AddEnabledField.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.chloggen/codeboten_rm-UseLocalHostAsDefaultMetricsAddress.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.chloggen/codeboten_rm-confighttp-gate.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.chloggen/codeboten_rm-expandedvaluesanitizer.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.chloggen/codeboten_rm-exporter.PersistRequestContext.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.chloggen/codeboten_rm-otelcol.printInitialConfig.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.chloggen/codeboten_rm-pdata.enableRefCounting.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.chloggen/config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ components:
1010
- all
1111
- cmd/builder
1212
- cmd/mdatagen
13+
- cmd/schemagen
1314
- connector/forward
1415
- connector/sample
1516
- docs/rfcs
@@ -31,6 +32,7 @@ components:
3132
- pkg/config/confignet
3233
- pkg/config/configopaque
3334
- pkg/config/configretry
35+
- pkg/config/configstorage
3436
- pkg/config/configtelemetry
3537
- pkg/config/configtls
3638
- pkg/confighttp
@@ -103,3 +105,4 @@ components:
103105
- receiver/sample
104106
- receiver/sampleentity
105107
- scraper/sample
108+
- scraper/samplemigration

.chloggen/id_formatter_fix.yaml renamed to .chloggen/mdatagen-versioned-metrics-handle-attribute-renames-correctly.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
# Use this changelog template to create an entry for release notes.
22

33
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4-
change_type: bug_fix
4+
change_type: 'bug_fix'
55

66
# The name of the component, or a single word describing the area of concern, (e.g. receiver/otlp)
77
component: cmd/mdatagen
88

99
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10-
note: Fix known acronyms at the end of generated Go identifiers to be all-caps, same as in any other position
10+
note: Versioned metrics don't handle renamed attributes with same type
1111

1212
# One or more tracking issues or pull requests related to the change
13-
issues: [15438]
13+
issues: [15595]
1414

1515
# (Optional) One or more lines of additional information to render under the primary note.
1616
# These lines will be padded with 2 spaces and then inserted directly into the document.
1717
# Use pipe (|) for multiline entries.
18-
subtext:
18+
subtext: |
19+
Versioned metrics need to support emitting legacy and latest attributes when the metric name is the same but the
20+
attributes names differ. This was not working when the attributes name changed but the type remained the same.
21+
Here we add support to versioned metrics with renamed attributes where those attributes have the same type.
1922
2023
# Optional: The change log or logs in which this entry should be included.
2124
# e.g. '[user]' or '[user, api]'
2225
# Include 'user' if the change is relevant to end users.
2326
# Include 'api' if there is a change to a library API.
2427
# Default: '[user]'
25-
change_logs: [user, api]
28+
change_logs: []

.chloggen/pdata-json-disallow-unknown-fields.yaml renamed to .chloggen/mdatagen_extended_types.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,27 @@
44
change_type: enhancement
55

66
# The name of the component, or a single word describing the area of concern, (e.g. receiver/otlp)
7-
component: pkg/pdata
7+
component: cmd/mdatagen
88

99
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10-
note: Add `DisallowUnknownFields` option to `JSONUnmarshaler` in plog, ptrace, pmetric, pprofile, and xpdata to error on JSON fields not defined by the OTLP schema.
10+
note: Add first-class extended type aliases (int64, duration, opaque_string, id, opaque_map, etc.) to config schemas in metadata.yaml
1111

1212
# One or more tracking issues or pull requests related to the change
13-
issues: [15279]
13+
issues: [15513]
1414

1515
# (Optional) One or more lines of additional information to render under the primary note.
1616
# These lines will be padded with 2 spaces and then inserted directly into the document.
1717
# Use pipe (|) for multiline entries.
1818
subtext: |
19-
When `DisallowUnknownFields` is false (the default), unknown fields are silently ignored, matching the previous behavior.
20-
Warning: enabling this option breaks forwards compatibility with future evolutions of the OTLP format, as fields added to the format in newer versions will be rejected as unknown.
19+
Authors can now write `type: int64`, `type: duration`, `type: opaque_string`, `type: id`, or
20+
`type: opaque_map` directly as a property type in the `config:` section of `metadata.yaml`.
21+
Each alias expands to the correct JSON Schema representation and Go type automatically.
22+
Existing uses of standard JSON Schema types, `format:`, and `x-customType:` remain supported
23+
without migration.
2124
2225
# Optional: The change log or logs in which this entry should be included.
2326
# e.g. '[user]' or '[user, api]'
2427
# Include 'user' if the change is relevant to end users.
2528
# Include 'api' if there is a change to a library API.
2629
# Default: '[user]'
27-
change_logs: [api]
30+
change_logs: [user, api]

0 commit comments

Comments
 (0)