[GH-ISSUE #305] Badge per check #234

Closed
opened 2026-02-25 23:41:42 +03:00 by kerem · 4 comments
Owner

Originally created by @SuperSandro2000 on GitHub (Nov 21, 2019).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/305

I would like to generate a badge from a specific check with that checks name for a project I maintain.

Sadly currently you can only get badges from projects or tags which both do not have the badge name customization I would like to have.

So my requests: Could you add badges per check? Maybe they need to be enabled on a by check case to save performance?
And/or can you add a customization option to change the text on all badges? I would like to have something like "Project synced with upstream" which is currently no possible.

Originally created by @SuperSandro2000 on GitHub (Nov 21, 2019). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/305 I would like to generate a badge from a specific check with that checks name for a project I maintain. Sadly currently you can only get badges from projects or tags which both do not have the badge name customization I would like to have. So my requests: Could you add badges per check? Maybe they need to be enabled on a by check case to save performance? And/or can you add a customization option to change the text on all badges? I would like to have something like "Project synced with upstream" which is currently no possible.
kerem closed this issue 2026-02-25 23:41:42 +03:00
Author
Owner

@cuu508 commented on GitHub (Dec 5, 2019):

And/or can you add a customization option to change the text on all badges? I would like to have something like "Project synced with upstream" which is currently no possible.

We could add support for overriding labels via query string. Let's say the SVG badge URL is:

https://healthchecks.io/badge/(...)/1VABRI5G/worker.svg

We could support this:

https://healthchecks.io/badge/(...)/1VABRI5G/worker.svg?label=Project synced with upstream

As for badges per individual check: if the number of checks is manageable, you could give each check an unique tag. And each unique tag would have its badge, controlled by a single check.

<!-- gh-comment-id:562019878 --> @cuu508 commented on GitHub (Dec 5, 2019): > And/or can you add a customization option to change the text on all badges? I would like to have something like "Project synced with upstream" which is currently no possible. We could add support for overriding labels via query string. Let's say the SVG badge URL is: https://healthchecks.io/badge/(...)/1VABRI5G/worker.svg We could support this: https://healthchecks.io/badge/(...)/1VABRI5G/worker.svg?label=Project synced with upstream As for badges per individual check: if the number of checks is manageable, you could give each check an unique tag. And each unique tag would have its badge, controlled by a single check.
Author
Owner

@cuu508 commented on GitHub (Dec 5, 2019):

Ah, if shields.io endpoint gets implemented, then shields.io could handle the label override:

https://img.shields.io/endpoint?label=Project synced with upstream&url=<healthchecks-url-here>
<!-- gh-comment-id:562025627 --> @cuu508 commented on GitHub (Dec 5, 2019): Ah, if shields.io endpoint gets implemented, then shields.io could handle the label override: https://img.shields.io/endpoint?label=Project synced with upstream&url=<healthchecks-url-here>
Author
Owner

@SuperSandro2000 commented on GitHub (Dec 5, 2019):

As for badges per individual check: if the number of checks is manageable, you could give each check an unique tag. And each unique tag would have its badge, controlled by a single check.

This would totally work for me right now. Thanks!

Label override via query string is exactly what I had in mind.

Edit:
Well, it would work if I could override the Label name cause I want a space in the display.

<!-- gh-comment-id:562027409 --> @SuperSandro2000 commented on GitHub (Dec 5, 2019): > As for badges per individual check: if the number of checks is manageable, you could give each check an unique tag. And each unique tag would have its badge, controlled by a single check. This would totally work for me right now. Thanks! Label override via query string is exactly what I had in mind. Edit: Well, it would work if I could override the Label name cause I want a space in the display.
Author
Owner

@cuu508 commented on GitHub (Dec 5, 2019):

I've just added shields.io support which also lets you override badge labels.

Example badge:

https://img.shields.io/endpoint?url=https%3A%2F%2Fhealthchecks.io%2Fbadge%2Fc673dfd3-0ea6-4e72-9787-2a6aa4%2FXhaG0fag%2Fsandbox.shields

Same badge, custom label:

https://img.shields.io/endpoint?url=https%3A%2F%2Fhealthchecks.io%2Fbadge%2Fc673dfd3-0ea6-4e72-9787-2a6aa4%2FXhaG0fag%2Fsandbox.shields&label=Project%20synced%20with%20upstream
<!-- gh-comment-id:562096526 --> @cuu508 commented on GitHub (Dec 5, 2019): I've just added shields.io support which also lets you override badge labels. Example badge: ![](https://img.shields.io/endpoint?url=https%3A%2F%2Fhealthchecks.io%2Fbadge%2Fc673dfd3-0ea6-4e72-9787-2a6aa4%2FXhaG0fag%2Fsandbox.shields) https://img.shields.io/endpoint?url=https%3A%2F%2Fhealthchecks.io%2Fbadge%2Fc673dfd3-0ea6-4e72-9787-2a6aa4%2FXhaG0fag%2Fsandbox.shields Same badge, custom label: ![](https://img.shields.io/endpoint?url=https%3A%2F%2Fhealthchecks.io%2Fbadge%2Fc673dfd3-0ea6-4e72-9787-2a6aa4%2FXhaG0fag%2Fsandbox.shields&label=Project%20synced%20with%20upstream) https://img.shields.io/endpoint?url=https%3A%2F%2Fhealthchecks.io%2Fbadge%2Fc673dfd3-0ea6-4e72-9787-2a6aa4%2FXhaG0fag%2Fsandbox.shields&label=Project%20synced%20with%20upstream
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/healthchecks#234
No description provided.