提交 1b40c38a 编写于 作者: N ning

modify docker-compose.yaml

上级 d39d4cb9
...@@ -90,7 +90,6 @@ services: ...@@ -90,7 +90,6 @@ services:
WAIT_HOSTS: mysql:3306, redis:6379 WAIT_HOSTS: mysql:3306, redis:6379
volumes: volumes:
- ./n9eetc:/app/etc - ./n9eetc:/app/etc
- ./integrations:/app/integrations
ports: ports:
- "17000:17000" - "17000:17000"
networks: networks:
......
{ {
"name": "http detect", "name": "http detect",
"tags": "", "tags": "",
"ident": "", "ident": "",
"configs": { "configs": {
"version": "2.0.0", "panels": [
"panels": [ {
{ "collapsed": true,
"id": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a", "id": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a",
"type": "row", "layout": {
"name": "Default chart group", "h": 1,
"layout": { "i": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a",
"h": 1, "w": 24,
"w": 24, "x": 0,
"x": 0, "y": 0
"y": 0, },
"i": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a" "name": "Default chart group",
}, "type": "row"
"collapsed": true },
}, {
{ "custom": {
"targets": [ "aggrDimension": "target",
{ "calc": "lastNotNull",
"refId": "A", "displayMode": "labelValuesToRows",
"expr": "max(http_response_result_code) by (target)", "showHeader": true
"legend": "UP?" },
}, "id": "3674dbfa-243a-49f6-baa5-b7f887c1afb0",
{ "layout": {
"expr": "max(http_response_response_code) by (target)", "h": 15,
"refId": "B", "i": "3674dbfa-243a-49f6-baa5-b7f887c1afb0",
"legend": "status code" "w": 24,
}, "x": 0,
{ "y": 1
"expr": "max(http_response_response_time) by (target)", },
"refId": "C", "name": "URL Details",
"legend": "latency(s)" "options": {
}, "standardOptions": {},
{ "valueMappings": []
"expr": "max(http_response_cert_expire_timestamp) by (target) - time()", },
"refId": "D", "overrides": [
"legend": "cert expire" {
} "matcher": {
], "value": "A"
"name": "URL Details", },
"custom": { "properties": {
"showHeader": true, "standardOptions": {},
"calc": "lastNotNull", "valueMappings": [
"displayMode": "labelValuesToRows", {
"aggrDimension": "target" "match": {
}, "special": 0
"options": { },
"valueMappings": [], "result": {
"standardOptions": {} "color": "#417505",
}, "text": "UP"
"overrides": [ },
{ "type": "special"
"properties": { },
"valueMappings": [ {
{ "match": {
"type": "special", "from": 1,
"match": { "special": 1
"special": 0 },
}, "result": {
"result": { "color": "#e90f0f",
"text": "UP", "text": "DOWN"
"color": "#417505" },
} "type": "range"
}, }
{ ]
"type": "range", }
"match": { },
"special": 1, {
"from": 1 "matcher": {
}, "value": "D"
"result": { },
"text": "DOWN", "properties": {
"color": "#e90f0f" "standardOptions": {
} "util": "humantimeSeconds"
} }
], },
"standardOptions": {} "type": "special"
}, }
"matcher": { ],
"value": "A" "targets": [
} {
}, "expr": "max(http_response_result_code) by (target)",
{ "legend": "UP?",
"type": "special", "refId": "A"
"matcher": { },
"value": "D" {
}, "expr": "max(http_response_response_code) by (target)",
"properties": { "legend": "status code",
"standardOptions": { "refId": "B"
"util": "humantimeSeconds" },
} {
} "expr": "max(http_response_response_time) by (target)",
} "legend": "latency(s)",
], "refId": "C"
"version": "2.0.0", },
"type": "table", {
"layout": { "expr": "max(http_response_cert_expire_timestamp) by (target) - time()",
"h": 15, "legend": "cert expire",
"w": 24, "refId": "D"
"x": 0, }
"y": 1, ],
"i": "3674dbfa-243a-49f6-baa5-b7f887c1afb0" "type": "table",
}, "version": "2.0.0",
"id": "3674dbfa-243a-49f6-baa5-b7f887c1afb0" "datasourceCate": "prometheus",
} "datasourceValue": "${prom}"
] }
} ],
"version": "3.0.0",
"var": [
{
"name": "prom",
"type": "datasource",
"definition": "prometheus"
}
]
}
} }
\ No newline at end of file
{ {
"name": "TCP detection", "name": "TCP detection",
"tags": "", "tags": "",
"ident": "", "ident": "",
"configs": { "configs": {
"version": "2.0.0", "panels": [
"panels": [ {
{ "collapsed": true,
"id": "b90370ef-ee1c-40c3-a570-e26a89448209", "id": "b90370ef-ee1c-40c3-a570-e26a89448209",
"type": "row", "layout": {
"name": "Default chart group", "h": 1,
"layout": { "i": "b90370ef-ee1c-40c3-a570-e26a89448209",
"h": 1, "w": 24,
"w": 24, "x": 0,
"x": 0, "y": 0
"y": 0, },
"i": "b90370ef-ee1c-40c3-a570-e26a89448209" "name": "Default chart group",
}, "type": "row"
"collapsed": true },
}, {
{ "custom": {
"targets": [ "aggrDimension": "target",
{ "calc": "lastNotNull",
"refId": "A", "displayMode": "labelValuesToRows",
"expr": "max(net_response_result_code) by (target)", "showHeader": true
"legend": "UP?" },
}, "id": "73c6eaf9-1685-4a7a-bf53-3d52afa1792e",
{ "layout": {
"expr": "max(net_response_response_time) by (target)", "h": 15,
"refId": "C", "i": "73c6eaf9-1685-4a7a-bf53-3d52afa1792e",
"legend": "latency(s)" "w": 24,
} "x": 0,
], "y": 1
"name": "Targets", },
"custom": { "name": "Targets",
"showHeader": true, "options": {
"calc": "lastNotNull", "standardOptions": {},
"displayMode": "labelValuesToRows", "valueMappings": []
"aggrDimension": "target" },
}, "overrides": [
"options": { {
"valueMappings": [], "matcher": {
"standardOptions": {} "value": "A"
}, },
"overrides": [ "properties": {
{ "standardOptions": {},
"properties": { "valueMappings": [
"valueMappings": [ {
{ "match": {
"type": "special", "special": 0
"match": { },
"special": 0 "result": {
}, "color": "#417505",
"result": { "text": "UP"
"text": "UP", },
"color": "#417505" "type": "special"
} },
}, {
{ "match": {
"type": "range", "from": 1,
"match": { "special": 1
"special": 1, },
"from": 1 "result": {
}, "color": "#e90f0f",
"result": { "text": "DOWN"
"text": "DOWN", },
"color": "#e90f0f" "type": "range"
} }
} ]
], }
"standardOptions": {} }
}, ],
"matcher": { "targets": [
"value": "A" {
} "expr": "max(net_response_result_code) by (target)",
} "legend": "UP?",
], "refId": "A"
"version": "2.0.0", },
"type": "table", {
"layout": { "expr": "max(net_response_response_time) by (target)",
"h": 15, "legend": "latency(s)",
"w": 24, "refId": "C"
"x": 0, }
"y": 1, ],
"i": "73c6eaf9-1685-4a7a-bf53-3d52afa1792e" "type": "table",
}, "version": "2.0.0",
"id": "73c6eaf9-1685-4a7a-bf53-3d52afa1792e" "datasourceCate": "prometheus",
} "datasourceValue": "${prom}"
] }
} ],
"version": "3.0.0",
"var": [
{
"name": "prom",
"type": "datasource",
"definition": "prometheus"
}
]
}
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册