Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding interrupts config
Browse files Browse the repository at this point in the history
Signed-off-by: mohamedasifs123 <[email protected]>
mohamedasifs123 committed Jul 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent eba1aba commit 3825d2e
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -51,6 +51,7 @@ jobs:
curl --fail http://127.0.0.1:9091/api/v1/query?query=disk_used_percent | grep disk_used_percent
curl --fail http://127.0.0.1:9091/api/v1/query?query=netstat_tcp_listen | grep netstat_tcp_listen
curl --fail http://127.0.0.1:9091/api/v1/query?query=dns_query_result_code | grep dns_query_result_code
curl --fail http://127.0.0.1:9091/api/v1/query?query=interrupts_total | grep interrupts_total
- name: Logs
if: always()
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -117,6 +117,8 @@ curl --fail http://127.0.0.1:9091/api/v1/query?query=redfish_thermal_fans_readin
curl --fail http://127.0.0.1:9091/api/v1/query?query=disk_used_percent | grep disk_used_percent
curl --fail http://127.0.0.1:9091/api/v1/query?query=netstat_tcp_listen | grep netstat_tcp_listen
curl --fail http://127.0.0.1:9091/api/v1/query?query=dns_query_result_code | grep dns_query_result_code
curl --fail http://127.0.0.1:9091/api/v1/query?query=interrupts_total | grep interrupts_total
```

## Running example
3 changes: 3 additions & 0 deletions config/telegraf.conf
Original file line number Diff line number Diff line change
@@ -26,6 +26,9 @@
collect_cpu_time = false
report_active = false

[[inputs.interrupts]]
cpu_as_tag = true

[[inputs.mem]]
# no configuration

0 comments on commit 3825d2e

Please sign in to comment.