Gauge for DVMs running

Tracks the number of DVMs running for each application or service.

Table 1. fourjs_gas_dvm_started_count
Labels Value Purpose
  1. application: name of the UA application (omitted if it is a service)
  2. service: name of the REST service (omitted if it is an application)
Number of running DVMs for the app or service Track the number of DVMs used by the specified app or service.
Metric examples
fourjs_gas_dvm_started_count{application="demo"} 2
fourjs_gas_dvm_started_count{service="demo/BookService"} 3

Grafana

PromQL queries to calculate the number of DVMs running for applications or services are provided.

  • PromQL query:
    fourjs_gas_dvm_started_count{url="/ua/r",application="demo"}
    This query calculates the number of DVMs running for the demo application.
    Figure: DVMs running

    Image of a Grafana panel showing the number of DVMs running for the demo application
  • PromQL query:
    fourjs_gas_dvm_started_count{service="demo/RestBook"}
    This query calculates the number of DVMs running for the RestBook web service.
    Figure: DVMs running

    Image of a Grafana panel showing the number of DVMs running for the RestBook web service