Dear All,

I have created the silence in my alertmanager through CURL command with 
below details

curl http://<alertManager>:9093/api/v1/silences -d '{
      "matchers": [
        {
          "name": "<NAME>",
          "value": "<VALUE>",
          "isRegex": true
        }
      ],
      "startsAt": "'"$startTime"'",
      "endsAt": "'"$endTime"'",
      "createdBy": "api",
      "comment": "Silence",
      "status": {
        "state": "active"
      }

}'


Could some one help me to expire an active silence through API as like 
above ?

Note: I expect  way to do this *without amtool*



Thanks.....

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/7d255fcd-1f0e-4572-83c9-cd983a808546o%40googlegroups.com.

Reply via email to