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://www.mzph.cn/news/866189.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【3分钟准备前端面试】vue3

目录 Vue3比vue2有什么优势vue3升级了哪些重要功能生命周期变化Options APIComposition APIreftoRef和toRefstoReftoRefsHooks (代码复用)Vue3 script setupsetupdefineProps和defineEmitsdefineExposeVue3比vue2有什么优势 性能更好体积更小更好的TS支持更好的代码组织更好的逻…

104.二叉树的最大深度——二叉树专题复习

深度优先搜索&#xff08;DFS&#xff09;是一种常用的递归算法&#xff0c;用于解决树形结构的问题。在计算二叉树的最大深度时&#xff0c;DFS方法会从根节点开始&#xff0c;递归地计算左右子树的最大深度&#xff0c;然后在返回时更新当前节点所在路径的最大深度。 如果我…

每日复盘-20240704

今日关注&#xff1a; 20240704 六日涨幅最大: ------1--------300391--------- 长药控股 五日涨幅最大: ------1--------300391--------- 长药控股 四日涨幅最大: ------1--------300391--------- 长药控股 三日涨幅最大: ------1--------300391--------- 长药控股 二日涨幅最…

文心一言 VS 讯飞星火 VS chatgpt (295)-- 算法导论21.4 4题

四、利用练习 21.4-2 &#xff0c;请给出一个简单的证明&#xff0c;证明在一个不相交集合森林上使用按秩合并策略而不使用路径压缩策略的运行时间为 O(m lgn) 。21.4-2 的内容是&#xff1a;“证明&#xff1a;每个结点的秩最多为 ⌊lgn⌋ 。”。如果要写代码&#xff0c;请用…

vue模板语法v-html

模板语法v-html vue使用一种基于HTML的模板语法&#xff0c;使我们能够声明式的将其组件实例的数据绑定到呈现的DOM上&#xff0c;所有的vue模板都是语法层面的HTML&#xff0c;可以被符合规范的浏览器和HTML解释器解析。 一.文本插值 最基本的数据绑定形式是文本插值&#…

Kafka 为何如此之快?深度解析其背后的秘密

目录 前言 一、生产者 1. 异步发送 2. 多分区并行 3. 消息批量发送 4.支持消息压缩 二、存储端 1. 分区和副本 2. 页缓存 3. 磁盘顺序写入 4. 零拷贝技术 5. 稀疏索引 三、消费端 1. 消费者群组 2. 批量拉取 3. 高效的偏移量管理 4. 并行消费 总结 前言 Kafk…

CS算法(二)—— 斜视SAR点目标仿真

SAR成像专栏目录 我们按照Cumming教授所著的《合成孔径雷达成像——算法与实现》7.6节的点目标参数进行仿真,斜视角设置为8,中心斜距改为1000km。先放最终的仿真结果: 1. 参数配置 在中心点和中心的的上下左右方向设置5个点目标 : function para=config_sar_para_cumming(…

【python数据处理】— “2020-01-01 05:20:15“日期格式数据

文章目录 一、数据说明及目标二、实现方式1.提取date2.提取hour3.提取weekday4.提取month 一、数据说明及目标 数据说明 数据表有一列名为"datetime"表示时间数据&#xff0c;该列的数据格式是"2020-01-01 05:20:15"。 import pandas as pd datapd.read_e…

[数据集][目标检测]刀具匕首持刀检测数据集VOC+YOLO格式8810张1类别

数据集格式&#xff1a;Pascal VOC格式YOLO格式(不包含分割路径的txt文件&#xff0c;仅仅包含jpg图片以及对应的VOC格式xml文件和yolo格式txt文件) 图片数量(jpg文件个数)&#xff1a;8810 标注数量(xml文件个数)&#xff1a;8810 标注数量(txt文件个数)&#xff1a;8810 标注…

堆结构、堆排序

堆 是完全二叉树&#xff0c;类似这种样式的 而这种有右子节点&#xff0c;没左子节点的就不是完全二叉树 分为大根堆和小根堆 大根堆是二叉树里每一颗子树的父节点都是这颗子树里最大的&#xff0c;即每一棵子树最大值是头节点的值 小根堆相反 把数组中从0开始的一段数人…

Spring Bean生命周期

Bean生命周期&#xff1a; 创建 Bean 的实例&#xff1a;Bean 容器首先会找到配置文件中的 Bean 定义&#xff0c;然后使用 Java 反射 API 来创建 Bean 的实例。 Bean 属性赋值/填充&#xff1a;为 Bean 设置相关属性和依赖&#xff0c;例如Autowired 等注解注入的对象、Value…

强强联合!当RAG遇到长上下文,滑铁卢大学发布LongRAG,效果领先GPT-4 Turbo 50%

过犹不及——《论语先进》 大学考试时&#xff0c;有些老师允许带备cheet sheet&#xff08;忘纸条&#xff09;,上面记着关键公式和定义,帮助我们快速作答提高分数。传统的检索增强生成(RAG)方法也类似,试图找出精准的知识片段来辅助大语言模型(LLM)。 但这种方法其实有问题…

React@16.x(48)路由v5.x(13)源码(5)- 实现 Switch

目录 1&#xff0c;原生 Switch 的渲染内容2&#xff0c;实现 1&#xff0c;原生 Switch 的渲染内容 对如下代码来说&#xff1a; import { BrowserRouter as Router, Route, Switch } from "react-router-dom"; function News() {return <div className"p…

MySQL体系架构

1.1.MySQL的分支与变种 MySQL变种有好几个&#xff0c;主要有三个久经考验的主流变种&#xff1a;Percona Server&#xff0c;MariaDB和 Drizzle。它们都有活跃的用户社区和一些商业支持&#xff0c;均由独立的服务供应商支持。同时还有几个优秀的开源关系数据库&#xff0c;值…

JVM专题之Java对象内存模型

一个Java对象在内存中包括3个部分: 对象头、实例数据和对齐填充 数据 内存 -- CPU 寄存器 -127 补码 10000001 - 11111111 32位的处理器 一次能够去处理32个二进制位 4字节的数据 64位操作系统 8字节 2的64次方的寻址空间 指针压缩…

从零开始:大模型简介与应用|实战系列

实战系列 相信有不少伙伴对大模型有所耳闻&#xff0c;但也是一知半解&#xff0c;也许你知道很重要可以为自己的工作提供帮助但是不知道该如何结合&#xff0c;又或是转行的过程中并不知道从何入手&#xff0c;网上的教程要么不包含具体的操作步骤要么需要好几篇合在一起才能…

鸿蒙小案例-首选项工具类

一个简单的首选项工具类 主要提供方法 初始化 init()方法建议在EntryAbility-》onWindowStageCreate 方法中使用 没多少东西&#xff0c;放一下测试代码 import { PrefUtil } from ./PrefUtil; import { promptAction } from kit.ArkUI;Entry Component struct PrefIndex {St…

在window上搭建docker

1、打开Hyper-V安装 在地址栏输入控制面板&#xff0c;然后回车 勾选Hyper-V安装&#xff0c;如果没有找到Hyper-V&#xff0c;那么请走第2步 2、如果没有Hyper-V(可选&#xff09;第一步无法打开 家庭版本需要开启Hyper-V 创建一个文本文档&#xff0c;后缀名称为.bat.名称…

鸿蒙开发:Universal Keystore Kit(密钥管理服务)【密钥生成介绍及算法规格】

密钥生成介绍及算法规格 当业务需要使用HUKS生成随机密钥&#xff0c;并由HUKS进行安全保存时&#xff0c;可以调用HUKS的接口生成密钥。 注意&#xff1a; 密钥别名中禁止包含个人数据等敏感信息。 开发前请熟悉鸿蒙开发指导文档&#xff1a;gitee.com/li-shizhen-skin/harm…