SpringBoot应用配置桥接Prometheus入门

SpringBoot应用配置Prometheus步骤

    • SpringBoot应用依赖要求
    • Prometheus
    • Grafana
    • Grafana监控界面模板

SpringBoot应用依赖要求

<!-- 监控系统健康情况的工具 -->
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- 桥接Prometheus -->
<dependency><groupId>io.micrometer</groupId><artifactId>micrometer-registry-prometheus</artifactId><scope>runtime</scope>
</dependency>
<!-- micrometer 核心包,按需引入,使用 Meter 注解或手动埋点时需要 -->
<dependency><groupId>io.micrometer</groupId><artifactId>micrometer-core</artifactId><version>1.7.6</version>
</dependency>
<!-- micrometer获取JVM相关信息,并展示在Grafana上 -->
<dependency><groupId>io.github.mweirauch</groupId><artifactId>micrometer-jvm-extras</artifactId><version>0.2.2</version>
</dependency>
management:metrics:tags:appname: ${spring.application.name}endpoints:web:exposure:include: "*"exclude: "env,beans"

SpringBoot2.1/Micrometer 1.1.0版本以上添加这行配置

management.metrics.tags.application: ${spring.application.name}

其他实现

@Bean
MeterRegistryCustomizer<MeterRegistry> configurer(@Value("${spring.application.name}") String applicationName) {return (registry) -> registry.config().commonTags("application", applicationName);
}

Prometheus

官网下载地址:https://prometheus.io/download/

image-20240704161406975

# 解压缩安装
tar zvxf prometheus-2.53.0.linux-amd64.tar.gzcd prometheus-2.53.0.linux-amd64# 读取指定yml配置启动,以8090端口启动
./prometheus --config.file=prometheus.yml --web.listen-address=:8090nohup ./prometheus --config.file=prometheus.yml --web.listen-address=:8090  > ./logs/prometheus.log 2>&1 &
# 全局配置
global:scrape_interval: 15s # 控制prometheus抓取数据的频率,默认1min。evaluation_interval: 15s # 每15秒评估一次规则。默认为每1分钟一次。alerting:alertmanagers:- static_configs:- targets:# - alertmanager:9093rule_files:scrape_configs:- job_name: "prometheus" # 可以是${spring.application.name}配置的名称,后续结合Grafana会使用到# metrics_path: "/actuator/prometheus" 默认后缀地址metrics,SpringBoot应用监听地址需要修改static_configs:- targets: ["localhost:8090"] # 监听prmetheus自己
# 支持多个应用

image-20240704161745520

可以筛选监听应用的数据

Grafana

官网地址:https://grafana.com/get/?tab=self-managed

image-20240704162206680

# 解压缩安装安装
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-11.1.0.linux-amd64.tar.gz
tar -zxvf grafana-enterprise-11.1.0.linux-amd64.tar.gz# 启动
./bin/grafana-server# http://localhost:3000 访问登录,默认admin/admin

image-20240704162332590

添加数据源

image-20240704162421066

选中prometheus

image-20240704162440325

image-20240704162607429

image-20240704162659225

image-20240704162753010

image-20240704162931188

image-20240704163254277

Grafana监控界面模板

JVM模板:https://grafana.com/grafana/dashboards/4701-jvm-micrometer/

配置:4701

{"__inputs": [{"name": "DS_PROMETHEUS","label": "Prometheus","description": "","type": "datasource","pluginId": "prometheus","pluginName": "Prometheus"}],"__requires": [{"type": "grafana","id": "grafana","name": "Grafana","version": "4.6.5"},{"type": "panel","id": "graph","name": "Graph","version": ""},{"type": "datasource","id": "prometheus","name": "Prometheus","version": "1.0.0"},{"type": "panel","id": "singlestat","name": "Singlestat","version": ""}],"annotations": {"list": [{"builtIn": 1,"datasource": "-- Grafana --","enable": true,"hide": true,"iconColor": "rgba(0, 211, 255, 1)","limit": 100,"name": "Annotations & Alerts","showIn": 0,"type": "dashboard"},{"datasource": "${DS_PROMETHEUS}","enable": true,"expr": "resets(process_uptime_seconds{application=\"$application\", instance=\"$instance\"}[1m]) > 0","iconColor": "rgba(255, 96, 96, 1)","name": "Restart Detection","showIn": 0,"step": "1m","tagKeys": "restart-tag","textFormat": "uptime reset","titleFormat": "Restart"}]},"description": "Dashboard for Micrometer instrumented applications (Java, Spring Boot, Micronaut)","editable": true,"gnetId": 4701,"graphTooltip": 1,"hideControls": false,"id": null,"links": [],"refresh": "30s","rows": [{"collapse": false,"height": "100px","panels": [{"cacheTimeout": null,"colorBackground": false,"colorValue": true,"colors": ["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource": "${DS_PROMETHEUS}","decimals": 1,"editable": true,"error": false,"format": "s","gauge": {"maxValue": 100,"minValue": 0,"show": false,"thresholdLabels": false,"thresholdMarkers": true},"height": "","id": 63,"interval": null,"links": [],"mappingType": 1,"mappingTypes": [{"name": "value to text","value": 1},{"name": "range to text","value": 2}],"maxDataPoints": 100,"nullPointMode": "connected","nullText": null,"postfix": "","postfixFontSize": "50%","prefix": "","prefixFontSize": "70%","rangeMaps": [{"from": "null","text": "N/A","to": "null"}],"span": 3,"sparkline": {"fillColor": "rgba(31, 118, 189, 0.18)","full": false,"lineColor": "rgb(31, 120, 193)","show": false},"tableColumn": "","targets": [{"expr": "process_uptime_seconds{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "","metric": "","refId": "A","step": 14400}],"thresholds": "","title": "Uptime","transparent": false,"type": "singlestat","valueFontSize": "80%","valueMaps": [{"op": "=","text": "N/A","value": "null"}],"valueName": "current"},{"cacheTimeout": null,"colorBackground": false,"colorValue": true,"colors": ["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource": "${DS_PROMETHEUS}","decimals": null,"editable": true,"error": false,"format": "dateTimeAsIso","gauge": {"maxValue": 100,"minValue": 0,"show": false,"thresholdLabels": false,"thresholdMarkers": true},"height": "","id": 92,"interval": null,"links": [],"mappingType": 1,"mappingTypes": [{"name": "value to text","value": 1},{"name": "range to text","value": 2}],"maxDataPoints": 100,"nullPointMode": "connected","nullText": null,"postfix": "","postfixFontSize": "50%","prefix": "","prefixFontSize": "70%","rangeMaps": [{"from": "null","text": "N/A","to": "null"}],"span": 3,"sparkline": {"fillColor": "rgba(31, 118, 189, 0.18)","full": false,"lineColor": "rgb(31, 120, 193)","show": false},"tableColumn": "","targets": [{"expr": "process_start_time_seconds{application=\"$application\", instance=\"$instance\"}*1000","format": "time_series","intervalFactor": 2,"legendFormat": "","metric": "","refId": "A","step": 14400}],"thresholds": "","title": "Start time","transparent": false,"type": "singlestat","valueFontSize": "70%","valueMaps": [{"op": "=","text": "N/A","value": "null"}],"valueName": "current"},{"cacheTimeout": null,"colorBackground": false,"colorValue": true,"colors": ["rgba(50, 172, 45, 0.97)","rgba(237, 129, 40, 0.89)","rgba(245, 54, 54, 0.9)"],"datasource": "${DS_PROMETHEUS}","decimals": 2,"editable": true,"error": false,"format": "percent","gauge": {"maxValue": 100,"minValue": 0,"show": false,"thresholdLabels": false,"thresholdMarkers": true},"id": 65,"interval": null,"links": [],"mappingType": 1,"mappingTypes": [{"name": "value to text","value": 1},{"name": "range to text","value": 2}],"maxDataPoints": 100,"nullPointMode": "connected","nullText": null,"postfix": "","postfixFontSize": "50%","prefix": "","prefixFontSize": "70%","rangeMaps": [{"from": "null","text": "N/A","to": "null"}],"span": 3,"sparkline": {"fillColor": "rgba(31, 118, 189, 0.18)","full": false,"lineColor": "rgb(31, 120, 193)","show": false},"tableColumn": "","targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"heap\"})","format": "time_series","intervalFactor": 2,"legendFormat": "","refId": "A","step": 14400}],"thresholds": "70,90","title": "Heap used","type": "singlestat","valueFontSize": "80%","valueMaps": [{"op": "=","text": "N/A","value": "null"}],"valueName": "current"},{"cacheTimeout": null,"colorBackground": false,"colorValue": true,"colors": ["rgba(50, 172, 45, 0.97)","rgba(237, 129, 40, 0.89)","rgba(245, 54, 54, 0.9)"],"datasource": "${DS_PROMETHEUS}","decimals": 2,"editable": true,"error": false,"format": "percent","gauge": {"maxValue": 100,"minValue": 0,"show": false,"thresholdLabels": false,"thresholdMarkers": true},"id": 75,"interval": null,"links": [],"mappingType": 2,"mappingTypes": [{"name": "value to text","value": 1},{"name": "range to text","value": 2}],"maxDataPoints": 100,"nullPointMode": "connected","nullText": null,"postfix": "","postfixFontSize": "50%","prefix": "","prefixFontSize": "70%","rangeMaps": [{"from": "null","text": "N/A","to": "null"},{"from": "-99999999999999999999999999999999","text": "N/A","to": "0"}],"span": 3,"sparkline": {"fillColor": "rgba(31, 118, 189, 0.18)","full": false,"lineColor": "rgb(31, 120, 193)","show": false},"tableColumn": "","targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"nonheap\"})","format": "time_series","intervalFactor": 2,"legendFormat": "","refId": "A","step": 14400}],"thresholds": "70,90","title": "Non-Heap used","type": "singlestat","valueFontSize": "80%","valueMaps": [{"op": "=","text": "N/A","value": "null"},{"op": "=","text": "x","value": ""}],"valueName": "current"}],"repeat": null,"repeatIteration": null,"repeatRowId": null,"showTitle": true,"title": "Quick Facts","titleSize": "h6"},{"collapse": false,"height": 250,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","fill": 1,"id": 111,"legend": {"avg": false,"current": true,"max": false,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\"}[1m]))","format": "time_series","intervalFactor": 1,"legendFormat": "HTTP","refId": "A"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Rate","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"decimals": null,"format": "ops","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {"HTTP": "#890f02","HTTP - 5xx": "#bf1b00"},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","fill": 1,"id": 112,"legend": {"avg": false,"current": true,"max": false,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\", status=~\"5..\"}[1m]))","format": "time_series","intervalFactor": 1,"legendFormat": "HTTP - 5xx","refId": "A"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Errors","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"decimals": null,"format": "ops","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","fill": 1,"id": 113,"legend": {"avg": false,"current": true,"max": false,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(rate(http_server_requests_seconds_sum{application=\"$application\", instance=\"$instance\", status!~\"5..\"}[1m]))/sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\", status!~\"5..\"}[1m]))","format": "time_series","hide": false,"intervalFactor": 1,"legendFormat": "HTTP - AVG","refId": "A"},{"expr": "max(http_server_requests_seconds_max{application=\"$application\", instance=\"$instance\", status!~\"5..\"})","format": "time_series","hide": false,"intervalFactor": 1,"legendFormat": "HTTP - MAX","refId": "B"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Duration","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "s","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","description": "","fill": 1,"id": 119,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": false,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "tomcat_threads_busy_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "TOMCAT - BSY","refId": "A"},{"expr": "tomcat_threads_current_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "TOMCAT - CUR","refId": "B"},{"expr": "tomcat_threads_config_max_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "TOMCAT - MAX","refId": "C"},{"expr": "jetty_threads_busy{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "JETTY - BSY","refId": "D"},{"expr": "jetty_threads_current{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "JETTY - CUR","refId": "E"},{"expr": "jetty_threads_config_max{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "JETTY - MAX","refId": "F"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Utilisation","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "short","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]}],"repeat": null,"repeatIteration": null,"repeatRowId": null,"showTitle": true,"title": "I/O Overview","titleSize": "h6"},{"collapse": false,"height": "250px","panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 24,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})","format": "time_series","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 2400},{"expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})","format": "time_series","intervalFactor": 2,"legendFormat": "committed","refId": "B","step": 2400},{"expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})","format": "time_series","intervalFactor": 2,"legendFormat": "max","refId": "C","step": 2400}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "JVM Heap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 25,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 2400},{"expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})","format": "time_series","intervalFactor": 2,"legendFormat": "committed","refId": "B","step": 2400},{"expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})","format": "time_series","intervalFactor": 2,"legendFormat": "max","refId": "C","step": 2400}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "JVM Non-Heap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 26,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\"})","format": "time_series","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 2400},{"expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\"})","format": "time_series","intervalFactor": 2,"legendFormat": "committed","refId": "B","step": 2400},{"expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\"})","format": "time_series","intervalFactor": 2,"legendFormat": "max","refId": "C","step": 2400}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "JVM Total","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": "","logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 86,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "process_memory_vss_bytes{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": true,"intervalFactor": 2,"legendFormat": "vss","metric": "","refId": "A","step": 2400},{"expr": "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "rss","refId": "B"},{"expr": "process_memory_swap_bytes{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "swap","refId": "C"},{"expr": "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\"} + process_memory_swap_bytes{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "total","refId": "D"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "JVM Process Memory","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": "","logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]}],"repeat": null,"repeatIteration": null,"repeatRowId": null,"showTitle": true,"title": "JVM Memory","titleSize": "h6"},{"collapse": false,"height": 250,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 106,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "system_cpu_usage{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 1,"legendFormat": "system","metric": "","refId": "A","step": 2400},{"expr": "process_cpu_usage{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 1,"legendFormat": "process","refId": "B"},{"expr": "avg_over_time(process_cpu_usage{application=\"$application\", instance=\"$instance\"}[15m])","format": "time_series","hide": false,"intervalFactor": 1,"legendFormat": "process-15m","refId": "C"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "CPU Usage","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"decimals": 1,"format": "percentunit","label": "","logBase": 1,"max": "1","min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 93,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "system_load_average_1m{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "system-1m","metric": "","refId": "A","step": 2400},{"expr": "system_cpu_count{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "cpus","refId": "B"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Load","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"decimals": 1,"format": "short","label": "","logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 32,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_threads_live_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "live","metric": "","refId": "A","step": 2400},{"expr": "jvm_threads_daemon_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "daemon","metric": "","refId": "B","step": 2400},{"expr": "jvm_threads_peak_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "peak","refId": "C","step": 2400},{"expr": "process_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "process","refId": "D","step": 2400}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Threads","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"decimals": 0,"format": "short","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {"blocked": "#bf1b00","new": "#fce2de","runnable": "#7eb26d","terminated": "#511749","timed-waiting": "#c15c17","waiting": "#eab839"},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","fill": 1,"id": 124,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_threads_states_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "{{state}}","refId": "A"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Thread States","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","description": "The percent of time spent on Garbage Collection over all CPUs assigned to the JVM process.","fill": 1,"id": 138,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\"}[1m])) by (application, instance) / on(application, instance) system_cpu_count","format": "time_series","intervalFactor": 1,"legendFormat": "CPU time spent on GC","refId": "A"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "GC Pressure","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"decimals": 1,"format": "percentunit","label": null,"logBase": 1,"max": "1","min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {"debug": "#1F78C1","error": "#BF1B00","info": "#508642","trace": "#6ED0E0","warn": "#EAB839"},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"height": "","id": 91,"legend": {"alignAsTable": false,"avg": false,"current": true,"hideEmpty": false,"hideZero": false,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": true,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [{"alias": "error","yaxis": 1},{"alias": "warn","yaxis": 1}],"spaceLength": 10,"span": 6,"stack": false,"steppedLine": false,"targets": [{"expr": "increase(logback_events_total{application=\"$application\", instance=\"$instance\"}[1m])","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "{{level}}","metric": "","refId": "A","step": 1200}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Log Events","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "individual"},"transparent": false,"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"decimals": 0,"format": "opm","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 61,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 3,"stack": false,"steppedLine": false,"targets": [{"expr": "process_files_open_files{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "open","metric": "","refId": "A","step": 2400},{"expr": "process_files_max_files{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "max","metric": "","refId": "B","step": 2400}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "File Descriptors","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"decimals": 0,"format": "short","label": null,"logBase": 10,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]}],"repeat": null,"repeatIteration": null,"repeatRowId": null,"showTitle": true,"title": "JVM Misc","titleSize": "h6"},{"collapse": false,"height": "250px","panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 3,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"minSpan": 4,"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","repeat": "jvm_memory_pool_heap","seriesOverrides": [],"spaceLength": 10,"span": 4,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 1800},{"expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "commited","metric": "","refId": "B","step": 1800},{"expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "max","metric": "","refId": "C","step": 1800}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "$jvm_memory_pool_heap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]}],"repeat": "persistence_counts","repeatIteration": null,"repeatRowId": null,"showTitle": true,"title": "JVM Memory Pools (Heap)","titleSize": "h6"},{"collapse": false,"height": 250,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 78,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"minSpan": 4,"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","repeat": "jvm_memory_pool_nonheap","seriesOverrides": [],"spaceLength": 10,"span": 4,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 1800},{"expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "commited","metric": "","refId": "B","step": 1800},{"expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "max","metric": "","refId": "C","step": 1800}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "$jvm_memory_pool_nonheap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]}],"repeat": null,"repeatIteration": null,"repeatRowId": null,"showTitle": true,"title": "JVM Memory Pools (Non-Heap)","titleSize": "h6"},{"collapse": false,"height": 250,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","fill": 1,"id": 98,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 4,"stack": false,"steppedLine": false,"targets": [{"expr": "rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[1m])","format": "time_series","hide": false,"intervalFactor": 1,"legendFormat": "{{action}} ({{cause}})","refId": "A"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Collections","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "ops","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": "","logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","fill": 1,"id": 101,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 4,"stack": false,"steppedLine": false,"targets": [{"expr": "rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\"}[1m])/rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[1m])","format": "time_series","hide": false,"instant": false,"intervalFactor": 1,"legendFormat": "avg {{action}} ({{cause}})","refId": "A"},{"expr": "jvm_gc_pause_seconds_max{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"instant": false,"intervalFactor": 1,"legendFormat": "max {{action}} ({{cause}})","refId": "B"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Pause Durations","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "s","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": "","logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","fill": 1,"id": 99,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 4,"stack": false,"steppedLine": false,"targets": [{"expr": "rate(jvm_gc_memory_allocated_bytes_total{application=\"$application\", instance=\"$instance\"}[1m])","format": "time_series","interval": "","intervalFactor": 1,"legendFormat": "allocated","refId": "A"},{"expr": "rate(jvm_gc_memory_promoted_bytes_total{application=\"$application\", instance=\"$instance\"}[1m])","format": "time_series","interval": "","intervalFactor": 1,"legendFormat": "promoted","refId": "B"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Allocated/Promoted","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "Bps","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]}],"repeat": null,"repeatIteration": null,"repeatRowId": null,"showTitle": true,"title": "Garbage Collection","titleSize": "h6"},{"collapse": false,"height": "250px","panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 37,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 6,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_classes_loaded_classes{application=\"$application\", instance=\"$instance\"}","format": "time_series","intervalFactor": 2,"legendFormat": "loaded","metric": "","refId": "A","step": 1200}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Classes loaded","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"format": "short","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","editable": true,"error": false,"fill": 1,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"id": 38,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"span": 6,"stack": false,"steppedLine": false,"targets": [{"expr": "delta(jvm_classes_loaded_classes{application=\"$application\",instance=\"$instance\"}[1m])","format": "time_series","hide": false,"interval": "","intervalFactor": 1,"legendFormat": "delta-1m","metric": "","refId": "A","step": 1200}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "Class delta","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["ops","short"],"yaxes": [{"decimals": null,"format": "short","label": "","logBase": 1,"max": null,"min": null,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}]}],"repeat": null,"repeatIteration": null,"repeatRowId": null,"showTitle": true,"title": "Classloading","titleSize": "h6"},{"collapse": false,"height": "250px","panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "${DS_PROMETHEUS}","fill": 1,"id": 131,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"minSpan": 4,"nullPointMode": "null","percentage": false,"pointradius": 5,"points": false,"renderer": "flot","repeat": "jvm_buffer_pool","seriesOverrides": [{"alias": "count","yaxis": 2},{"alias": "buffers","yaxis": 2}],"spaceLength": 10,"span": 4,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_buffer_pool\"}","format": "time_series","intervalFactor": 2,"legendFormat": "used","refId": "A"},{"expr": "jvm_buffer_total_capacity_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_buffer_pool\"}","format": "time_series","intervalFactor": 2,"legendFormat": "capacity","refId": "B"},{"expr": "jvm_buffer_count_buffers{application=\"$application\", instance=\"$instance\", id=~\"$jvm_buffer_pool\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "buffers","refId": "C"}],"thresholds": [],"timeFrom": null,"timeShift": null,"title": "$jvm_buffer_pool","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "decbytes","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"decimals": 0,"format": "short","label": "","logBase": 1,"max": null,"min": "0","show": true}]}],"repeat": null,"repeatIteration": null,"repeatRowId": null,"showTitle": true,"title": "Buffer Pools","titleSize": "h6"}],"schemaVersion": 14,"style": "dark","tags": [],"templating": {"list": [{"allValue": null,"current": {},"datasource": "${DS_PROMETHEUS}","hide": 0,"includeAll": false,"label": "Application","multi": false,"name": "application","options": [],"query": "label_values(application)","refresh": 2,"regex": "","sort": 0,"tagValuesQuery": "","tags": [],"tagsQuery": "","type": "query","useTags": false},{"allFormat": "glob","allValue": null,"current": {},"datasource": "${DS_PROMETHEUS}","hide": 0,"includeAll": false,"label": "Instance","multi": false,"multiFormat": "glob","name": "instance","options": [],"query": "label_values(jvm_memory_used_bytes{application=\"$application\"}, instance)","refresh": 2,"regex": "","sort": 0,"tagValuesQuery": "","tags": [],"tagsQuery": "","type": "query","useTags": false},{"allFormat": "glob","allValue": null,"current": {},"datasource": "${DS_PROMETHEUS}","hide": 2,"includeAll": true,"label": "JVM Memory Pools Heap","multi": false,"multiFormat": "glob","name": "jvm_memory_pool_heap","options": [],"query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"},id)","refresh": 1,"regex": "","sort": 1,"tagValuesQuery": "","tags": [],"tagsQuery": "","type": "query","useTags": false},{"allFormat": "glob","allValue": null,"current": {},"datasource": "${DS_PROMETHEUS}","hide": 2,"includeAll": true,"label": "JVM Memory Pools Non-Heap","multi": false,"multiFormat": "glob","name": "jvm_memory_pool_nonheap","options": [],"query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"},id)","refresh": 1,"regex": "","sort": 2,"tagValuesQuery": "","tags": [],"tagsQuery": "","type": "query","useTags": false},{"allFormat": "glob","allValue": null,"current": {},"datasource": "${DS_PROMETHEUS}","hide": 2,"includeAll": true,"label": "JVM Buffer Pools","multi": false,"multiFormat": "glob","name": "jvm_buffer_pool","options": [],"query": "label_values(jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\"},id)","refresh": 1,"regex": "","sort": 1,"tagValuesQuery": "","tags": [],"tagsQuery": "","type": "query","useTags": false}]},"time": {"from": "now-24h","to": "now"},"timepicker": {"now": true,"refresh_intervals": ["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options": ["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone": "browser","title": "JVM (Micrometer)","version": 33
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://xiahunao.cn/news/3226463.html

如若内容造成侵权/违法违规/事实不符,请联系瞎胡闹网进行投诉反馈,一经查实,立即删除!

相关文章

私域运营从0到1冷启动

私域社群的冷启动是一个从无到有的过程&#xff0c;需要策略和耐心来吸引并维护用户。以下是一些步骤和策略&#xff0c;可以帮助你的私域社群实现从0到1的冷启动&#xff1a; 1. **明确目标和定位**&#xff1a; - 确定社群的目标用户和他们的需求。 - 明确社群的主题和…

3、视图和模板

续上一篇&#xff0c;这一篇 着重于创建公共接口——“视图” 第三部分——3、视图和模板 1、概述2、编写更多视图原理——django依次访问了什么文件 3、写一个真正有用的视图一个快捷函数 render() render——渲染 4、抛出404错误一个快捷函数 get_object_or_404() 5、使用模…

PHP酒店宾馆民宿多商户版系统小程序源码

解锁酒店新境界&#xff01;揭秘多商户版系统的无限可能&#x1f3e8;✨ &#x1f680; 开篇&#xff1a;酒店业的新革命&#xff0c;多商户版系统来袭&#xff01; 你是否梦想过将你的酒店打造成一个集餐饮、娱乐、购物于一体的综合型休闲空间&#xff1f;现在&#xff0c;这…

mysql8多值索引

MySQL8新出了一个多值索引&#xff0c;我还没体验过呢&#xff0c;今天试一试。 建表 我先建个表试一试多值索引的效果。我粗略地看了下多值索引的介绍&#xff0c;发现是只适用于数组类型的。所以我建一个含有数组字段的表试一试。语法还是挺麻烦的&#xff1a; create tabl…

系统架构设计师教程 第二章 计算机系统基础知识-2.4嵌入式系统及软件

系统架构设计师教程 第二章 计算机系统基础知识-2.4嵌入式系统及软件 2.4 嵌入式系统及软件2.4.1 嵌入式系统的组成及特点2.4.1.1 嵌入式系统的组成2.4.1.2 嵌入式系统的特点2.4.2 嵌入式系统的分类2.4.3 嵌入式软件的组成及特点2.4.3.1 嵌入式软件的组成2.4.3.2 嵌入式软件的主…

密态计算,大模型“用数”的必由之路

文&#xff5c;白 鸽 编&#xff5c;王一粟 今年世界人工智能大会上&#xff0c;大模型如何走向深度应用成为重要议题。 但在大模型迈向深度应用的过程中&#xff0c;相比于算力的稀缺&#xff0c;“真正的问题是缺数据&#xff0c;无论是在通用技术领域&#xff0c;还是在专…

最优化方法_高等教育出版社

contents 前言第一章 基本概念1.1 最优化问题简介1.2 凸集和凸函数1.2.1 凸集1.2.2 凸函数1.2.3 凸规划&#xff08;个人补充&#xff09; 1.3 最优性条件1.3.1 下降方向1.3.2 充分必要条件1.3.3 拉格朗日乘子法 1.4 最优化方法概述1.4.1 初始点的选取1.4.2 迭代点好坏的判定1.…

软航文档控件VUE示例运行及控件替换方法记录

目录 示例运行 步骤一、npm install 步骤二、npm run dev 软航文档控件替换 附 vue小白记录一下软航文档控件VUE示例的运行方法以及示例中控件的替换过程。 示例运行 在已经安装好VUE环境的电脑上&#xff0c;VUE环境部署可以参考另一篇&#xff1a;配置VUE环境过程中 …

外卖霸王餐怎么做才能盈利赚钱的呢?

在当前的餐饮市场中&#xff0c;外卖行业已成为不可忽视的一部分&#xff0c;而“外卖霸王餐”作为一种促销策略&#xff0c;更是在外卖市场中引起了广泛的关注。那么&#xff0c;如何通过外卖霸王餐实现盈利赚钱呢&#xff1f;以下将从多个方面进行深入探讨。 一、明确外卖霸王…

仓库的数据管理如何做?

在当今这个数字化飞速发展的时代&#xff0c;仓库作为供应链的核心环节&#xff0c;其数据管理的重要性日益凸显。一个高效、精准的仓库数据管理体系&#xff0c;不仅能够显著提升物流效率&#xff0c;降低运营成本&#xff0c;还能增强企业的市场竞争力。那么&#xff0c;仓库…

Python数据结构的库之Fuk使用详解

概要 fuk 是一个用于处理 Python 数据结构的库,全称为 "Fast and Uncomplicated Kit"。它提供了一系列高效、简洁的数据结构实现,以及对 Python 内置数据结构的扩展。通过使用 fuk,开发者可以更加方便地处理列表、集合、字典等数据类型,提高代码的执行效率和可读…

js逆向第24例:FastMoss数据分析网站Fm-Sign加密字段破解

文章目录 一、前言二、定位关键参数三、代码实现一、前言 破解:FastMoss数据分析网站Fm-Sign加密字段 二、定位关键参数 先看一下网站加密字段是长什么样,如下图,老手估计一下子就能发现字段Fm-Sign:的密文类似md5加密后的结果。 直接全局搜索Fm-Sign:看来key也没有做混…

The Open Group 爱丁堡大会高光集锦——企业架构、人工智能和可持续发展的创新交叉点

4月底&#xff0c;The Open Group峰会在英国爱丁堡顺利举办。活动邀请到数十位领域专家、技术、论坛成员、工作组和联合组织等相聚在一起&#xff0c;围绕生态系统架构和人工智能标准、可持续性、企业架构、数字转型等话题进行了对话与探讨。大会吸引了来自30个国家的400位观众…

大模型价格战,有价无市

从上周开始&#xff0c;各个大模型厂商就开始卷价格&#xff0c;要么免费&#xff0c;要么压得极低。从第一性原理出发&#xff0c;快速且共识性的降价原因指向了对客户的争抢。但国产算力的发展还需要时日&#xff0c;这场价格战的象征意义远大于实际意义。 就在英伟达再次拿出…

支持老挝语语音识别、老挝文字OCR识别的《老挝语翻译通》有入门发音教程和大量词汇可以学习!

对于泰国越南等国家大家相必非常熟悉&#xff0c;但是对于同在东南亚的老挝国家&#xff0c;大家可能一时半会还想不起来。 如果你正在学习老挝语或者准备去探索老挝这个国家&#xff0c;那么你从现在开始就要掌握一些基本的老挝语单词和句子了&#xff0c;《老挝语翻译通》Ap…

android13 rom frameworks 蓝牙自动接收文件

总纲 android13 rom 开发总纲说明 目录 1.前言 2.源码查找 3.我们先实现第一种改法 4.实现第二种改法 5.第三种改法代码参考 6.编译测试 1.前言 我们从导航栏这里,点开这个蓝牙的接收框,弹出来的对话框,使用android studio 的layout inspector可以发现这个是 Bluetoo…

vue3源码(六)渲染原理-runtime-core

1.依赖关系 runtime-dom 依赖于runtime-core,runtime-core 依赖于reactivity和sharedruntime-core提供跨平台的渲染方法createRenderer&#xff0c;用户可以自己传递节点渲染的渲染方法renderOptions&#xff0c;本身不关心用户使用什么APIruntime-dom提供了为浏览器而生的渲染…

启动tomcat时提示The JRE_HOME environment variable is not defined correctly

我的情况是在已经安装过jdk后&#xff0c;启动tomcat时出现以下问题 原因是环境变量配置不正确导致的 首先确认一下jre的实际安装路径 然后修改环境变量配置文件 vim /etc/profile 添加以下内容&#xff0c;JRE_HOME为实际jre的路径 然后保存退出 让文件生效一下 source…

数字探秘:用神经网络解密MNIST数据集中的数字!

用神经网络解密MNIST数据集中的数字&#xff01; 一. 介绍1.1 MNIST数据集简介1.2 MLP&#xff08;多层感知器&#xff09;模型介绍1.3 目标&#xff1a;使用MLP模型对MNIST数据集中的0-9数字进行分类 二.数据预处理2.1 数据集的获取与加载2.2 数据集的探索性分析&#xff08;E…

批量删除Linux服务器上的文件

1.应用场景&#xff1a;因为前期没有对文件进行很好的分类&#xff0c;定期删除等&#xff0c;导致服务器上出现很多不需要的文件&#xff0c;或者是备份文件。 2.这个时候也不能直接通过图形化或者文件选中删除只能用命令。 3.思路&#xff1a;创建一个文件&#xff0c;把要…