Skip to content

Commit

Permalink
Rename scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
m-czernek committed Feb 27, 2025
1 parent 77bb8d4 commit c335293
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions python/health-check/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### uyuni-health-check
### health-check

A tool providing dashboard, metrics and logs from an Uyuni server supportconfig to visualise its health status.

Expand All @@ -23,12 +23,12 @@ This tool builds and deploys the necessary containers to scrape some metrics and
Execute the `run` phase of the tool as such:

```
uyuni-health-check -s ~/path/to/supportconfig run --logs --from_datetime=2024-01-01T00:00:00Z --to_datetime=2024-06-01T20:00:00Z
health-check -s ~/path/to/supportconfig run --logs --from_datetime=2024-01-01T00:00:00Z --to_datetime=2024-06-01T20:00:00Z
```

This will create and start the following containers locally:

- uyuni-health-exporter (port `9000`)
- health-exporter (port `9000`)
- grafana (port `3000`)
- loki (port `9100`)
- promtail (port `9081`)
Expand Down
4 changes: 2 additions & 2 deletions python/health-check/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

[project]
name = "uyuni-health-check"
name = "health-check"
description = "Show Uyuni server health metrics and logs"
readme = "README.md"
requires-python = ">=3.11"
Expand All @@ -29,7 +29,7 @@ homepage = "https://github.com/uyuni-project/uyuni"
tracker = "https://github.com/uyuni-project/uyuni/issues"

[project.scripts]
uyuni-health-check = "uyuni_health_check.main:main"
health-check = "health_check.main:main"

[tool.setuptools]
package-dir = {"" = "src"}
Expand Down

0 comments on commit c335293

Please sign in to comment.