You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the field is not send to prometheus so grafana queries are empty wich implies incorrect grafan dashbord
Reproduce the error
checkout jhipster sample app
run the docker compose monitoring
run the app
Check that mettrics with "appllication" field is not present in prometheus
Related issues
Suggest a Fix
I just need to add the following properties
management.metrics.tags.application: ${spring.application.name} in application.yml
Maybe is there a better way? using metric registry?
See below picture of prometheus before and after fix. We can that "application" is sent after the fix (first row in the capture)
Overview of the issue
The field "application" is not send to prometheus
Motivation for or Use Case
the field is not send to prometheus so grafana queries are empty wich implies incorrect grafan dashbord
Reproduce the error
Related issues
Suggest a Fix
I just need to add the following properties
management.metrics.tags.application: ${spring.application.name} in application.yml
Maybe is there a better way? using metric registry?
See below picture of prometheus before and after fix. We can that "application" is sent after the fix (first row in the capture)
JHipster Version(s)
8.6.0
JHipster configuration
.yo-rc.json file
Environment and Tools
openjdk version "21.0.2" 2024-01-16
OpenJDK Runtime Environment (build 21.0.2+13-58)
OpenJDK 64-Bit Server VM (build 21.0.2+13-58, mixed mode, sharing)
git version 2.34.1
node: v20.15.0
npm: 10.7.0
Docker version 27.1.2, build d01f264
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Browsers and Operating System
The text was updated successfully, but these errors were encountered: