Bug 721 - Prometheus Metrix end point // NPCI

Review Request #630 — Created Jan. 22, 2025 and submitted

weikai
APV10
rel_apv_10_7
721
kevin.poh, tanya, timlai
Enhance command functionality based on Technical Writer (Anja) feedback.
1. prometheus token ttl <minutes>. Change 3-60 to 3-1440 minutes.
2. show prometheus token all/valid/expired. Add an optional parameter order: forward|backward.
3. no prometheus https ssl. will execute "prometheus https off".
4. add "show prometheus metrics" to display metric names and descriptions.
Open the Prometheus client service using HTTP
cmd: curl -H 'Authorization: Bearer <token>' http://<ip>:<port>/metrics
The official Prometheus-2.53.3

Open the Prometheus client service using HTTPS
cmd: curl -k -H 'Authorization: Bearer <token>' https://<ip>:<port>/metrics
The official Prometheus-2.53.3

For detailed information, please refer to 
https://arraynetworks.atlassian.net/browse/TWSD-15
timlai
  1. Ship It!
  2. 
      
kevin.poh
  1. Ship It!
  2. 
      
weikai
Review request changed

Status: Closed (submitted)

Loading...