Closed AlanBCole closed 3 years ago
@jwfuller How should we handle the secret and initial prometheus token with it? We mentioned the settings.php file before for creating the hashing secret and for creating an array of token userIds. But what we still need to get Prometheus a token made with the secret and Prometheus userId.
@AlanBCole @jeor0980 can help open an issue in Atlas to add the information to the settings file.
new Express Site Metrics module
Here is a new metrics module that provides endpoints for gathering site metrics data.
Included features of in this PR:
admin/express/metrics/json
-> Intended for Prometheus. Requires a web token to access. Returns simple JSON encoded metrics data.admin/express/metrics
-> Pretty prints JSON to screen. User must have 'administer modules' permission.admin/express/metrics/token
-> User must have 'administer modules' permission.What still needs to be done