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

long, double and boolean support for observations #234 #238

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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?

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