tomsun28 commented on PR #2593:
URL: https://github.com/apache/hertzbeat/pull/2593#issuecomment-2308399088

   👍👍hi, how we use in monitor template yml script, can you give an example?
   eg: 
   ```
       protocol: http
       http:
         host: ^_^host^_^
         port: ^_^port^_^
         url: ^_^base_path^_^/metrics/jvm.threads.states
         method: GET
         ssl: ^_^ssl^_^
         authorization:
           type: Basic Auth
           basicAuthUsername: ^_^username^_^
           basicAuthPassword: ^_^password^_^
         parseType: jsonPath
         parseScript: '$.availableTags[?(@.tag == "state")].values[*]'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to