Skip to content

Conversation

@nikoncode
Copy link

@nikoncode nikoncode commented Apr 20, 2023

@marcingrzejszczak could you please take a look on eb11083? If we will find consensus on this, I will include fixed version in #235.

Probably this change should be in micrometer-common, but I feel that KeyValue object has wide semantic and custom types might not be applicable for metrics tag for example, that's why I put this in tracing and asking your advice.

@marcingrzejszczak
Copy link
Contributor

I've merged the original PR (thanks for your contribution!). Can you take the TypedKeyValue and move it to micrometer-commons and write tests for various use-cases? I guess obviously instead of applying it for the span we would need to return sth like getTypedValue(). Maybe the TypedKeyValue could be an interface that extends the KeyValue one and has an implementation similar to the one that KeyValue has? WDYT?

@github-actions
Copy link

If you would like us to look at this PR, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants