https://github.com/b4fun/azure-usage-prom
Convert Azure resource usage to prometheus metrics.
https://github.com/b4fun/azure-usage-prom
Last synced: about 2 months ago
JSON representation
Convert Azure resource usage to prometheus metrics.
- Host: GitHub
- URL: https://github.com/b4fun/azure-usage-prom
- Owner: b4fun
- License: mit
- Created: 2020-11-28T06:14:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-28T06:18:51.000Z (over 4 years ago)
- Last Synced: 2025-03-05T14:03:18.190Z (3 months ago)
- Language: Go
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# azure-usage-prom
Convert Azure resource usage to prometheus metrics.
| Resource | Link |
|:----|:----|
| Reference | [](https://pkg.go.dev/github.com/b4fun/azure-usage-prom?tab=overview) |
| Docker Image | [](https://hub.docker.com/r/b4fun/azure-usage-prom) |## Usage
```
$ ./azure-usage-prom \
-query-targets "microsoft.compute|0000000-000-0000-0000-0000000000|eastus,microsoft.network|0000000-000-0000-0000-0000000000|eastus"
I1128 14:00:12.316210 23445 main.go:98] azure-usage-prom listening at :8080
$ curl -v http://localhost:8080/metrics
```## LICENSE
MIT