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

Last put and get values #360

Open
lavalex opened this issue Dec 8, 2024 · 2 comments
Open

Last put and get values #360

lavalex opened this issue Dec 8, 2024 · 2 comments

Comments

@lavalex
Copy link

lavalex commented Dec 8, 2024

Hello,

When I'm analyzing last queue get and last queue put times, it's not possible to tell, was there a put (or get) just now or there was no put (get) at all, since QM started. In both cases the value is 0 (seconds ago).

Any idea, how to tell both cases apart? For example, in MQ Explorer, when there was no put or get since QM started, the value is just missing.

Thank you in advance.

@ibmmqmet
Copy link
Collaborator

Because metrics are not strings, it's not really feasible to handle it the same way as Explorer that shows the text date/time value. I don't like the alternative of a magic number like -1 or "MAX_INT". I'd probably construct a query that combines the value with the actual number of puts (or gets) in the most recent interval. Because if those are zero, then a zero in the last put/get time can only make sense if it doesn't mean "JUST NOW".

@lavalex
Copy link
Author

lavalex commented Dec 11, 2024

So there is no way to distinguish between then right now, correct?

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

No branches or pull requests

2 participants