Skip to content

om2: allow unknown fields#2846

Closed
bwplotka wants to merge 1 commit intomainfrom
bwplotka/om2-unknown-fields
Closed

om2: allow unknown fields#2846
bwplotka wants to merge 1 commit intomainfrom
bwplotka/om2-unknown-fields

Conversation

@bwplotka
Copy link
Member

No description provided.

Signed-off-by: bwplotka <bwplotka@gmail.com>

```openmetrics-add-eof
# TYPE foo histogram
foo {newfield1:[],count:17,sum:324789.3,bucket:[0.0:0,1e-05:0,+Inf:17],newfield2:21,newfield3:{}} st@1520430000.123
Copy link
Member Author

Choose a reason for hiding this comment

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

WG discussion:

  • There's order
  • Hard to for nested structures
  • Maybe new fields at the end? numbers and maybe slices?
  • Without unknowns and we want extend. 2.1 and content negotiation is fine?

@bwplotka
Copy link
Member Author

After discussions we decided it's not worth to force some kind of unknown fields rule as 2.1 would be ok for new fields.

@bwplotka bwplotka closed this Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments