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

Monitoring and Alerting #475

Open
mudit3774 opened this issue Jul 2, 2019 · 11 comments
Open

Monitoring and Alerting #475

mudit3774 opened this issue Jul 2, 2019 · 11 comments

Comments

@mudit3774
Copy link

Hey,

We are planning to use Tile38 in production. We were wondering what is the best was to set up monitoring and alerting?

Should we rely on system metrics like load averages, CPU, disk metrics etc. only?

Are there any additional metrics that we should monitor? Is there an exporter for Prometheus that we could potentially use?

Please point me to the documentation, if any

@tidwall
Copy link
Owner

tidwall commented Jul 2, 2019

Hi,

The SERVER ext command may be what you're looking for. It returns a bunch of extended server metrics.

There isn't a built-in exporter for Prometheus, but in the past, we've whipped up a custom sidekick that proxies and reformats the metrics into something that Prometheus understands.

@mudit3774
Copy link
Author

mudit3774 commented Jul 3, 2019

Thanks for the reply @tidwall

I am sure we can write a custom script but would it make sense to consider something like this: https://github.com/oliver006/redis_exporter

Do you recommend this or have some other recommendations? I am sure you must be aware, it has some tile38 support.

@tidwall
Copy link
Owner

tidwall commented Jul 14, 2019

I haven't used redis_exporter myself, but it looks pretty good. I'd definitely give it a try first.

@epsilon-akshay
Copy link

@mudit3774 have you set up monitoring for tile38 yet, are you using Prometheus with a redis exporter?

@tidwall
Copy link
Owner

tidwall commented Mar 26, 2020

I've heard good reports about using Tile38 with redis_exporter.

Also, the https://github.com/tile38/tile38-prometheus repo was released recently open-sourced.

@oliver006
Copy link
Contributor

oliver006 commented Apr 24, 2021

Hey there, I'm the maintainer of the Prometheus redis_exporter which indeed works for Tile38 (though it's a bit limited with what it can export). I just merged a PR that adds additional metrics that the exporter provides about a Tile38 DB (mostly by pulling data from SERVER EXT).

I see you released a Tile38 sidekick / exporter - but why not add Prometheus support natively to Tile38 itself?

@tidwall
Copy link
Owner

tidwall commented Apr 26, 2021

Hi @oliver006,

It may be worthwhile to support it natively but I'm not very familiar with Prometheus. The Tile38 sidekick was made by a colleague a couple years ago. I would probably need to spend some time investigating.

@oliver006
Copy link
Contributor

Ah ok, that makes sense, Josh.
I might have time in the coming week or two to put together a quick PR that shows how to expose some basic metrics.

@tidwall
Copy link
Owner

tidwall commented Apr 27, 2021

That would be really helpful!

@oliver006
Copy link
Contributor

Ok, great. I'll put something together and then we can figure out how to get some more useful metrics exposed later, once we have the skeleton.

@oliver006
Copy link
Contributor

I opened #604 to expose some basic metrics - let me know what you think.

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

4 participants