Skip to content

Conversation

andythsu
Copy link
Member

@andythsu andythsu commented Jan 11, 2025

This exposes JMX metrics at /metrics

Copy link
Member

@Randgalt Randgalt left a comment

Choose a reason for hiding this comment

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

Does this automatically do something? Or is there another PR coming after this?

@andythsu
Copy link
Member Author

andythsu commented Jan 17, 2025

Does this automatically do something? Or is there another PR coming after this?

It automatically exposes metrics to /metrics endpoint
The metrics it exposes include (but not limited to)

  • http server threads usage
  • http client request, response time
  • jvm metrics

They come for free from Airlift

We are planning to add some more useful metrics as it fits. For example:

  • time it takes to talk to OPA
  • time it takes to fetch credentials
  • time it takes to sign a request
    ...

These will come in subsequent PRs

@mosiac1 mosiac1 merged commit da51b88 into trinodb:main Jan 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants