Monitoring metrics

Monitoring

Configuration

asjard:
  ## Monitoring related configuration
  metrics:
    ## Whether to enable monitoring
    # enabled: false
    ## Metrics to collect
    # collectors: ""
    ## Built-in configured collection metrics
    # builtInCollectors:
    #   - go_collector
    #   - process_collector
    #   - db_default
    #   - api_requests_total
    #   - api_requests_latency_seconds
    #   - api_requests_size_bytes
    #   - api_response_size_bytes
    ## Push to pushgateway
    pushGateway:
      ## gateway address
      # endpoint: http://127.0.0.1:9091
      ## Push interval
      # interval: 5s

Custom metrics

Dashboard

Please strictly followthe error code specificationwhen returning errors, otherwise unrecognized errors will all be labeled asInternal system error

Refer tografanaarrow-up-right, the effect is as follows (continuously being improved):

grafana

Last updated