Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

PMM-8194 Azure exporter. #289

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions rhel/SPECS/pmm-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ mv supervisord.conf %{buildroot}%{_sysconfdir}/supervisord.d/pmm.ini

install -d %{buildroot}%{_datadir}/%{name}
cp -pav ./entrypoint.sh %{buildroot}%{_datadir}/%{name}/entrypoint.sh
cp -pav ./vmalert-rules.yml %{buildroot}%{_datadir}/%{name}/vmalert-rules.yml
cp -pav ./installation-wizard/build %{buildroot}%{_datadir}/%{name}/installation-wizard-page
cp -pav ./%{pmm_repo}-%{pmm_commit}/api/swagger %{buildroot}%{_datadir}/%{name}/swagger
rm -rf %{pmm_repo}-%{pmm_commit}
Expand Down
17 changes: 17 additions & 0 deletions vmalert-rules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
groups:
- name: test subquery
rules:
- record: node_cpu_average
expr: cpu_percent_percent_average
- record: node_network_transmit_bytes_total
expr: network_bytes_egress_bytes_average
- record: node_network_receive_bytes_total
expr: network_bytes_ingress_bytes_average
- record: node_filesystem_size_bytes
expr: storage_limit_bytes_average
- record: azure_storage_used_bytes_average
expr: storage_used_bytes_average
- record: azure_storage_percent_average
expr: storage_percent_percent_average
- record: azure_memory_percent_average
expr: memory_percent_percent_average