Skip to content

feat(metrics): Add metrics for domain expiration#1244

Merged
TwiN merged 10 commits into
TwiN:masterfrom
StefanBalea:feature/domain-expiration-metric
Oct 25, 2025
Merged

feat(metrics): Add metrics for domain expiration#1244
TwiN merged 10 commits into
TwiN:masterfrom
StefanBalea:feature/domain-expiration-metric

Conversation

@StefanBalea

@StefanBalea StefanBalea commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

Summary

This PR exposes new Prometheus metric results_domain_expiration_seconds , similar to results_certificate_expiration_seconds, updated prometheus and grafana docker images and extends the Grafana dashboard with "Domain expiration"

It can be used in prometheus and later on in Grafana dashboard to display the Domain Expiration for different endpoints.

image

Grafana Dashboard

image

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Updated documentation in README.md, if applicable.

@github-actions github-actions Bot added feature New feature or request area/metrics Related to metrics labels Sep 4, 2025
@StefanBalea

StefanBalea commented Sep 29, 2025

Copy link
Copy Markdown
Contributor Author

Hi @TwiN ,

with this PR, could you also update the whois library version? I added support for .ro domain in whois repository and I would like to test it after this PR is merged.

BR,
Stefan

@TwiN

TwiN commented Sep 30, 2025

Copy link
Copy Markdown
Owner

@StefanBalea feel free to update it in this PR. I'll merge after

@StefanBalea

Copy link
Copy Markdown
Contributor Author

Fixed the conflicts and new version of whois added.

@TwiN TwiN changed the title feat: Add metrics for domain expiration feat(metrics): Add metrics for domain expiration Oct 25, 2025
@TwiN TwiN merged commit 2f8a3d2 into TwiN:master Oct 25, 2025
2 checks passed
alexlebens pushed a commit to alexlebens/infrastructure that referenced this pull request Oct 26, 2025
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/twin/gatus](https://github.com/TwiN/gatus) | minor | `v5.28.0` -> `v5.29.0` |

---

### Release Notes

<details>
<summary>TwiN/gatus (ghcr.io/twin/gatus)</summary>

### [`v5.29.0`](https://github.com/TwiN/gatus/releases/tag/v5.29.0)

[Compare Source](TwiN/gatus@v5.28.0...v5.29.0)

#### What's Changed

- feat(metrics): Add metrics for domain expiration by [@&#8203;StefanBalea](https://github.com/StefanBalea) in [#&#8203;1244](TwiN/gatus#1244)

#### New Contributors

- [@&#8203;StefanBalea](https://github.com/StefanBalea) made their first contribution in [#&#8203;1244](TwiN/gatus#1244)

**Full Changelog**: <TwiN/gatus@v5.28.0...v5.29.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTUuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1NS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbWFnZSJdfQ==-->

Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/1859
Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net>
Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/metrics Related to metrics feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants