ldubrois commented on issue #3743:
URL: https://github.com/apache/hertzbeat/issues/3743#issuecomment-3252388102

   Hello
   
   What i am trying to achieve : 
   
   ```yml
   category: i2a
   app: tenant_monitoring
   name:
     en-US: Tenant's Monitoring
   params:
     - field: host
       name:
         en-US: Default Host
       type: host
       defaultValue: my.site.com
       required: true
   
     - field: tenantCode
       name:
         en-US: Tenant's Code
       type: text
       required: true
     - field: datacenter
       name:
         en-US: Datacenter name
       type: text
       defaultValue: dc01
       required: true
     - field: public_host_ws
       name:
         en-US: Public Host WS
       type: text
       defaultValue: my-ws.site.com
       required: true
     - field: public_host_auth
       name:
         en-US: Public Host Auth
       type: text
       defaultValue: auth.site.com
       required: true
     - field: public_host_mds
       name:
         en-US: Public Host MDS
       type: text
       defaultValue: app.site.com
       required: true
     - field: private_host
       name:
         en-US: Private Host
       type: text
       defaultValue: my.site.local
       required: true
   
   metrics:
     - name: login-options
       i18n:
         en-US: Login Options
       priority: 0
       interval: 60
       fields:
         - field: responseTime
           type: 0
           unit: ms
         - field: statusCode
           type: 0
       protocol: http
       http:
         host: dc01-auth.i-2a.com
         port: 443
         url: /tenants/^_^tenantCode^_^/account/LoginOptions?userName=
         method: GET
         ssl: true
         successCodes: [200,204]
         parseType: website
   
     - name: api-resources
       i18n:
         en-US: API Resources
       priority: 10
       interval: 30
       fields:
         - field: responseTime
           type: 0
           unit: ms
         - field: statusCode
           type: 0
       protocol: http
       http:
         host: dc01-ws.i-2a.com
         port: 443
         timeout: 30
         url: 
/apis/v1/tenants/^_^tenantCode^_^/localizations/resources?culture=en&requester=4&devMode=false
         method: GET
         ssl: true      
         successCodes: [200,204]
         parseType: website
   
      - name: api-back-users
        i18n:
          en-US: API Back Users
        priority: 10
        fields:
          - field: responseTime
            type: 0
            unit: ms
        protocol: http
        http:
          host: ^_^private_host^_^
          port: 443
          timeout: 30
          url: 
/apis/directory/v1/tenants/^_^tenantCode^_^/users/first?filter=true
          method: GET
          ssl: true      
          successCodes: [200,204]
          parseType: website
   
     - name: mds-smart-probe
       i18n:
         en-US: MDS Smart Probe
       priority: 10
       interval: 600
       fields:
         - field: responseTime
           type: 0
           unit: ms
         - field: statusCode
           type: 0
       protocol: http
       http:
         host: dc01.i-2a.com
         port: 443
         timeout: 30
         url: /apis/my-data-security/v1/tenants/^_^tenantCode^_^/probes/smart
         method: GET
         ssl: true      
         successCodes: [200,204]
         parseType: website
   
     - name: mds-resources
       i18n:
         en-US: MDS Resources
       priority: 10
       interval: 30
       fields:
         - field: responseTime
           type: 0
           unit: ms
         - field: statusCode
           type: 0
       protocol: http
       http:
         host: dc01.i-2a.com
         port: 443
         timeout: 30
         url: 
/apis/my-data-security/v1/tenants/^_^tenantCode^_^/localizations/resources?culture=en&requester=10
         method: GET
         ssl: true      
         successCodes: [200,204]
         parseType: website
   
   ```


-- 
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: notifications-unsubscr...@hertzbeat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: notifications-h...@hertzbeat.apache.org

Reply via email to