Blame
| 1590af | Steven Anderson | 2024-12-30 11:06:05 | 1 | # prometheus |
| 2 | ||||
| 3 | #### reload service after configuration change |
|||
| 4 | kill -HUP $PID |
|||
| 5 | ||||
| 6 | #### Remove Specific Data |
|||
| 7 | In prometheus webui, execute `scrape_series_added` to list instances and jobs to remove. |
|||
| 8 | ||||
| 9 | Update ARGS in file `/etc/default/prometheus` |
|||
| 10 | ||||
| 11 | ARGS="--web.enable-admin-api" |
|||
| 12 | ||||
| 13 | Restart prometheus |
|||
| 14 | ||||
| 15 | service prometheus restart |
|||
| 16 | ||||
| 17 | Run curl command to perform deletion |
|||
| 18 | ||||
| 19 | curl -X POST -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={instance="https://github.com",job="blackbox-http"}' |