Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jianshuqin
dc-common
Commits
49ea655a
Commit
49ea655a
authored
Mar 06, 2020
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update dockerfile
parent
c5bed157
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
0 deletions
+72
-0
Dockerfile
docker-skywalking/6/6.6/oap-es7/Dockerfile
+1
-0
alarm-settings.yml
docker-skywalking/6/6.6/oap-es7/alarm-settings.yml
+71
-0
No files found.
docker-skywalking/6/6.6/oap-es7/Dockerfile
View file @
49ea655a
...
@@ -23,6 +23,7 @@ RUN set -eux; \
...
@@ -23,6 +23,7 @@ RUN set -eux; \
rm
-rf
"webapp"
;
rm
-rf
"agent"
;
rm
-rf
"webapp"
;
rm
-rf
"agent"
;
COPY
/docker-skywalking/6/6.6/oap-es7/log4j2.xml config/
COPY
/docker-skywalking/6/6.6/oap-es7/log4j2.xml config/
COPY
/docker-skywalking/6/6.6/oap-es7/alarm-settings.yml config/
COPY
/docker-skywalking/6/6.6/oap-es7/docker-entrypoint.sh .
COPY
/docker-skywalking/6/6.6/oap-es7/docker-entrypoint.sh .
FROM
openjdk:8-jre-alpine
FROM
openjdk:8-jre-alpine
...
...
docker-skywalking/6/6.6/oap-es7/alarm-settings.yml
0 → 100644
View file @
49ea655a
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Sample alarm rules.
rules
:
# Rule unique name, must be ended with `_rule`.
service_resp_time_rule
:
indicator-name
:
service_resp_time
op
:
"
>"
threshold
:
1000
period
:
10
count
:
3
silence-period
:
5
message
:
Response time of service {name} is more than 1000ms in 3 minutes of last 10 minutes.
service_sla_rule
:
# Indicator value need to be long, double or int
indicator-name
:
service_sla
op
:
"
<"
threshold
:
8000
# The length of time to evaluate the metric
period
:
10
# How many times after the metric match the condition, will trigger alarm
count
:
2
# How many times of checks, the alarm keeps silence after alarm triggered, default as same as period.
silence-period
:
3
message
:
Successful rate of service {name} is lower than 80% in 2 minutes of last 10 minutes
service_p90_sla_rule
:
# Indicator value need to be long, double or int
indicator-name
:
service_p90
op
:
"
>"
threshold
:
1000
period
:
10
count
:
3
silence-period
:
5
message
:
90% response time of service {name} is more than 1000ms in 3 minutes of last 10 minutes
service_instance_resp_time_rule
:
indicator-name
:
service_instance_resp_time
op
:
"
>"
threshold
:
1000
period
:
10
count
:
2
silence-period
:
5
message
:
Response time of service instance {name} is more than 1000ms in 2 minutes of last 10 minutes
# Active endpoint related metric alarm will cost more memory than service and service instance metric alarm.
# Because the number of endpoint is much more than service and instance.
#
# endpoint_avg_rule:
# indicator-name: endpoint_avg
# op: ">"
# threshold: 1000
# period: 10
# count: 2
# silence-period: 5
# message: Response time of endpoint {name} is more than 1000ms in 2 minutes of last 10 minutes
webhooks
:
-
http://172.31.255.7/notify/skywalking/notice
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment