Skip to content
CCPEDIAby Unity Nodes
Digital Asset docs

Monitoring

Updated 03-12-2026

Monitoring

The Covalidation Service contains metrics/traces out of the box to support monitoring. This behavior is enabled by adding the following block to your configuration:
  monitoring:
    otel:
      endpointURL: <OTEL Monitoring URL>
The endpointURL field is an OpenTelemetry (OTEL) URL and port for sending metrics and traces. Different solutions are available to configure an OTEL endpoint, e.g. Datadog-agents. Logs in the Covalidation Service can be made more verbose by adding the following to your configuration:
  log:
    level: debug
It is good practice to monitor for things like:
  • Kubernetes liveness/readiness probes for the covalidation-service are passing
  • No ERROR log entries observed
  • Log indicating last checkpoint processed is progressing

Metrics

The covalidation service offers metrics out of the box for both successful and failing operations. Metrics embedded in the code include:
  • covalidation.error: Count of all the errors encountered during the various syncs that occur during the covalidation process
  • covalidation.github.dars_uploaded: Total number of dars uploaded to participant
  • covalidation.parties_onboarded: Total number of parties successfully onboarded
  • covalidation.vets: Count of packages successfully vetted
  • covalidation.unvets: Count of packages successfully unvetted
  • sync: Count of total number of sync attempts by the covalidation service
  • offset: Current highest offset of the ledger API read by covalidation service
Available from 0.15.0 onwards
  • covalidation.vetting_mismatch: Indicates a vetting mismatch between a specific participant and the primary participant

Vetting Mismatch Metric

To monitor whether other nodes in your covalidation network have vetting mismatches with respect to the primary node (excluding splice DARs), you can monitor and alert on covalidation.vetting_mismatch The value will be 1 if a covalidator’s (or an observer’s) package vetting state differs from the primary for the monitored packages, 0 if they match. The mismatchedVetsCount and mismatchedUnvetsCount labels shows the vets/unvets the participant needs to be in sync with the primary. example if there is a mismatch — participant indicates the node that has the mismatch:
primary=Org-Primary-1::12201fd772f31cbe24237220db661ae0d2ca6956da39fcbfa6231334374153081db2
participant=Org-Covalidation-1::12201fd772f31cbe24237220db661ae0d2ca6956da39fcbfa6231334374153081db2
mismatchedVetsCount=123
mismatchedUnvetsCount=456
example if vetting is synchronized and healthy
primary=Org-Primary-1::12201fd772f31cbe24237220db661ae0d2ca6956da39fcbfa6231334374153081db2
participant=Org-Covalidation-1::12201fd772f31cbe24237220db661ae0d2ca6956da39fcbfa6231334374153081db2
mismatchedVetsCount=0
mismatchedUnvetsCount=0
If there is a vetting mismatch a warning will also be shown in the logs
{
  "time": "2026-12-02T22:19:01.248631466Z",
  "level": "WARN",
  "msg": "vetting mismatch between primary and covalidator/observer participant",
  "primary": "Org-Primary-1::12201fd772f31cbe24237220db661ae0d2ca6956da39fcbfa6231334374153081db2",
  "participant": "Org-Covalidation-1::12201fd772f31cbe24237220db661ae0d2ca6956da39fcbfa6231334374153081db2",
  "shouldBeVetted": [
    "19f0df5fdaf5a96e137b6ea885fdb378f37bd3166bd9a47ee11518e33fa09a20"
  ],
  "shouldBeUnvetted": []
}

Sync Trace

Additionally, a sync trace is also included to capture a sync and raise any errors that may occur during the three covalidation processes:
  • sync: Overarching trace that includes 3 subtraces for the 3 processes of covalidation
  • github: Trace for the Github dar upload service
  • vetter: Trace for the Vetter package vetting service
  • partysyncer: Trace for the Partysyncer transaction sync service
Any errors that occur during one of the services are captured as a span event and appear under the respective trace to help with debugging service issues.

Alerts

We recommend creating the following alerts for overall infrastructure and application health:
  • Kubernetes Deployment Replica Pods: Ensure pods are READY and healthy
  • Covalidation Error Rate Over Time: Change in error rate in the previous X amount of minutes compared to the last Y minutes
  • Memory usage over time: Set alert on memory usage of the node the service is hosted on