[GH-ISSUE #758] Add prometheus metrics #490

Closed
opened 2026-03-02 11:50:19 +03:00 by kerem · 8 comments
Owner

Originally created by @icco on GitHub (Dec 25, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/758

Describe the feature you'd like

I'd like for prometheus metrics to be exported on /metrics with guages of the metrics that are on /dashboard/admin.

Describe the benefits this would bring to existing Hoarder users

This would make it easy to monitor hoarder's crawling and scraping

Can the goal of this request already be achieved via other means?

Yes, you can check the admin dashboard.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

Additional context

No response

Originally created by @icco on GitHub (Dec 25, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/758 ### Describe the feature you'd like I'd like for prometheus metrics to be exported on `/metrics` with guages of the metrics that are on `/dashboard/admin`. ### Describe the benefits this would bring to existing Hoarder users This would make it easy to monitor hoarder's crawling and scraping ### Can the goal of this request already be achieved via other means? Yes, you can check the admin dashboard. ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundamental request ### Additional context _No response_
Author
Owner

@MohamedBassem commented on GitHub (Dec 25, 2024):

I like the idea!

<!-- gh-comment-id:2561895562 --> @MohamedBassem commented on GitHub (Dec 25, 2024): I like the idea!
Author
Owner

@thiswillbeyourgithub commented on GitHub (Jul 20, 2025):

If anyone manages to make a grafana dashboard for karakeep's metric I'm all ears :)!

<!-- gh-comment-id:3094735824 --> @thiswillbeyourgithub commented on GitHub (Jul 20, 2025): If anyone manages to make a [grafana](https://grafana.com/grafana/dashboards/?search=karakeep) dashboard for karakeep's metric I'm all ears :)!
Author
Owner

@simono41 commented on GitHub (Jul 21, 2025):

If anyone manages to make a grafana dashboard for karakeep's metric I'm all ears :)!

Hello, I once made a simple dashboard from all the metrics I got from Karakeep.

Adjust it to your own needs :)

Karakeep-1753059268680.json

<!-- gh-comment-id:3094969941 --> @simono41 commented on GitHub (Jul 21, 2025): > If anyone manages to make a [grafana](https://grafana.com/grafana/dashboards/?search=karakeep) dashboard for karakeep's metric I'm all ears :)! Hello, I once made a simple dashboard from all the metrics I got from Karakeep. Adjust it to your own needs :) [Karakeep-1753059268680.json](https://github.com/user-attachments/files/21338862/Karakeep-1753059268680.json)
Author
Owner

@thiswillbeyourgithub commented on GitHub (Jul 21, 2025):

Very nice thanks a lot. I think it would be nice if you published it on the grafana dashboards website, this way we could easily get updates from you :). In any case even now I believe it's worth mentioning it in the karakeep doc!

<!-- gh-comment-id:3096731178 --> @thiswillbeyourgithub commented on GitHub (Jul 21, 2025): Very nice thanks a lot. I think it would be nice if you published it on the grafana dashboards website, this way we could easily get updates from you :). In any case even now I believe it's worth mentioning it in the karakeep doc!
Author
Owner

@CrazyWolf13 commented on GitHub (Jul 25, 2025):

@MohamedBassem could you in the next update ensure all metrics have a prefix of karakeep_{metric-name} ?

Looking at my other metrics from authentik, vikunja, *arr apps etc, they all seem to have that prefix except karakeep, this would ensure no metrics apps use the same name for a statistic.

Thanks a lot!

<!-- gh-comment-id:3117489875 --> @CrazyWolf13 commented on GitHub (Jul 25, 2025): @MohamedBassem could you in the next update ensure all metrics have a prefix of karakeep_{metric-name} ? Looking at my other metrics from authentik, vikunja, *arr apps etc, they all seem to have that prefix except karakeep, this would ensure no metrics apps use the same name for a statistic. Thanks a lot!
Author
Owner

@CrazyWolf13 commented on GitHub (Jul 25, 2025):

@simono41 I had to manually set the job variable, there was no selection and the default did not work, any ideas why?

<!-- gh-comment-id:3117522837 --> @CrazyWolf13 commented on GitHub (Jul 25, 2025): @simono41 I had to manually set the job variable, there was no selection and the default did not work, any ideas why?
Author
Owner

@CrazyWolf13 commented on GitHub (Sep 7, 2025):

@simono41 Are you willing to update the dashboard, now that 0.27 has been released with karakeep_{value} prefix?

<!-- gh-comment-id:3263972238 --> @CrazyWolf13 commented on GitHub (Sep 7, 2025): @simono41 Are you willing to update the dashboard, now that 0.27 has been released with karakeep_{value} prefix?
Author
Owner

@darendarrow commented on GitHub (Oct 3, 2025):

Here's one I made @simono41, @CrazyWolf13 if you find it helpful

karakeep_dashboard.json

<!-- gh-comment-id:3367360326 --> @darendarrow commented on GitHub (Oct 3, 2025): Here's one I made @simono41, @CrazyWolf13 if you find it helpful [karakeep_dashboard.json](https://github.com/user-attachments/files/22688652/karakeep_dashboard.json)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#490
No description provided.