Components

<ppw-metric>

Display a public prometheus metric.

<ppw-metric>

Display a public prometheus metric.

PDF files
0

name prop

The name prop is the metric name as defined in victoria metrics or prometheus :

PDF files

0

title prop or slot

The Great Counter
0

PDF files

0

desc prop

The Great Counter

PDF files

0
From the year only.

icon prop

The Great Counter
0
From the year only.

no-refresh prop

By default the metric is refreshed every 10 seconds. The value displayed changes smoothly.

The norefresh prop tell the compoenent to not automatically refresh the metric :

PDF files

0

fake prop

The Great Counter
0
From the year only.

refresh

You can force a metric refresh by clicking on the component.

The Great Counter
0
From the year only.

Example

A realistic example :

PDF
0
PDF files checked
Signatures
0
Digital signatures scanned
Pages
0
PDF pages produced

offset prop

Number of my API calls as long as we remember :

0

Number of my API calls for the last 15 minutes :

0

Number of my API calls for the last hour :

0

Number of my API calls for the last week :

0

Number of my API calls for the current month (from day 1 to now) :

0

supported metrics

All those metrics are also available at our grafana instance (access restricted).

simple/pp_pdf_info_signers_total

0

simple/referentiel_nb_checklist_defined

0

api/pdf/check

Number of PDF check for all users of all domains :

0

Number of PDF check for all users of this domain :

0

Number of PDF check for me in all domains :

0

Number of PDF check for me in this domain :

0

api/all

Number of my API calls in this domain :

0

Number of my API calls in all domain :

0

Please note it is not allowed to query API calls number for anyone else but you.

TODO

  • show link to grafana (optional)
  • show backend version
  • show frontend version
  • show frontend widgets version
  • red/green display for 0/1 metric (up)
  • display a message when the metric fetch fails
  • property to change the refresh period
  • show Err on API error