Skip to content

Commit

Permalink
feat: adding interrupts config
Browse files Browse the repository at this point in the history
Signed-off-by: mohamedasifs123 <[email protected]>
  • Loading branch information
mohamedasifs123 committed Jul 2, 2024
1 parent eba1aba commit 67bede7
Show file tree
Hide file tree
Showing 3 changed files with 5 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
Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ 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
Expand Down
3 changes: 3 additions & 0 deletions config/telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
collect_cpu_time = false
report_active = false

[[inputs.interrupts]]
cpu_as_tag = true

[[inputs.mem]]
# no configuration

Expand Down

0 comments on commit 67bede7

Please sign in to comment.