Comments (3)
Slugs are not guaranteed to be unique, so a "get by slug" call could have 0, 1 or N matches.
The "List Existing Checks" API call currently supports filtering by tag:
https://healthchecks.io/api/v3/checks/?tag=foo&tag=bar
We could add an option to filter by slug as well:
https://healthchecks.io/api/v3/checks/?slug=my-custom-slug
Would that help?
Just saw that the auto-provisioning is now enabled which is nice as well
Yep! But, note, this change has not yet been deployed to the hosted service.
from healthchecks.
The slug is unique per project though, right?
I opened a pull request with an example, feel free to have a look at it and push it in if you want, I'm gonna try it out locally on our instance since it saves us a couple of requests for some of our checks.
from healthchecks.
No, there is no uniqueness constraint for slugs even within a single project. Multiple checks can have the same slug, and a check can have an empty slug.
I just pushed a commit which adds filtering by slug to the "List Checks" call:
http://healthchecks.io/api/v3/checks/?slug=foo
from healthchecks.
Related Issues (20)
- Scraping all projects in Prometheus
- Expose grace period metrics
- Feature request: dependency between checks for decision on changing health status or sending notifications HOT 2
- Alert on pinging IP address change HOT 2
- Support Systemd OnCalendar timers HOT 8
- Disabling emails causes 500 error when adding new project members HOT 3
- How to transfer project ownership without configuring emails HOT 1
- Configure disabling magic link sign-in HOT 1
- Fallback notifications HOT 2
- Unable to add HTTP_COOKIE due to uwsgi buffer size HOT 4
- Planned Down Time HOT 1
- Migration payments.0009_alter_subscription_user fails on upgrade to v3.1 HOT 2
- README at Docker Hub is outdated HOT 4
- "Data too long for column 'code' at row 1" HOT 10
- Cannot upload a file larger than 2.5 MB HOT 1
- [BUG] Problems with PING_ENDPOINT HOT 3
- Better Stack Incident creation / alerting integration? HOT 2
- Allowing scanning of text in a pdf email attachment
- Prune outdated history HOT 2
- Truncate beginning of long request bodies instead of the end HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from healthchecks.