Skip to main content
Skip table of contents

VeridiumID Health Check mechanism

This page will explain the procedure of configuring the health check mechanism to be used by load balancers.


Metrics configuration


Metrics thresholds and limits can be viewed and configured in the Admin Dashboard, see image below:

The metrics.json file contains the following values:

  1. cassandraThreshold:
    • This parameter provides the current Threshold (in milliseconds) for response times from the Cassandra cluster to the VeridiumID node
    • Default value: 50
  2. hsmThreshold:
    • Optional parameter, if not present it will not be used for status generation
    • This parameter provides the current Threshold (in milliseconds) for response times from the HSM to the VeridiumID node
    • Default value: 200
  3. opaHealthCheckThreshold:
    • This parameter provides the current Threshold (in milliseconds) for response times from the VeridiumID node to OPA service
    • Default value: 50
  4. elasticThreshold:
    • This parameter provides the current Threshold (in milliseconds) for response times from the VeridiumID node to Elasticsearch cluster 
    • Default value: 50
  5. zookeeperThreshold:
    • This parameter provides the current Threshold (in milliseconds) for response times from the Zookeeper cluster to the VeridiumID node
    • Default value: 50
  6. kafkaThreshold:
    • This parameter provides the current Threshold (in milliseconds) for response times from the Kafka cluster to the VeridiumID node
    • Default value: 50
  7. websecThreshold:
    • Optional parameter, if not present it will not be used for status generation
    • This parameter provides the current Threshold (in milliseconds) for response times for the RegisterAccount operations
    • Default value: 2000
  8. websecadminThreshold:
    • Optional parameter, if not present it will not be used for status generation
    • This parameter provides the current Threshold (in milliseconds) for response times for basic Websecadmin calls
    • Default value: 2000
  9. serviceMetricsLimit:
    • This parameter provides the limit of metrics reported by service monitoring should be kept in memory
    • Default value: 100000
  10. actionMetricsLimit
    • This parameter provides the limit of metrics reported by action tracking should be kept in memory
    • Default value: 10000
  11. metricsInterval:
    • This parameter provides the interval (in milliseconds) on which the metrics are calculated
    • Default value: 10000


Optional parameters will be added manually.

Adding/modifying optional parameters requires service (Websecadmin and Tomcat) restart.


Metrics endpoints

There are three endpoints that will be used for metrics:

  1. http://{{ IP/FQDN}}:{{ INTERNAL_PORT }}/websecadmin/rest/health/metrics
    • This endpoint will provide the metrics that are calculated by Websecadmin
  2. http://{{ IP/FQDN}}:{{ INTERNAL_PORT }}/websecadmin/rest/health/metrics/status
    • This endpoint will provide the metrics that are calculated by Websecadmin and a status for the service

For example:

https://admin-local.myhost.com/websecadmin/rest/health/metrics



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.