File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 10
10
- name : Check out repository code
11
11
uses : actions/checkout@v2
12
12
13
- - run : pip install -r requirements.txt
14
- - run : python -m unittest
15
-
16
13
- name : Log in to Docker Hub
17
14
uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
18
15
with :
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ scrape_configs:
4
4
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
5
5
- job_name : ' prometheus'
6
6
7
+ scrape_interval : 5s
8
+
7
9
# metrics_path defaults to '/metrics'
8
10
# scheme defaults to 'http'.
9
11
@@ -12,6 +14,9 @@ scrape_configs:
12
14
13
15
# Create a job for Docker Swarm containers.
14
16
- job_name : ' dockerswarm'
17
+
18
+ scrape_interval : 5s
19
+
15
20
dockerswarm_sd_configs :
16
21
- host : unix:///var/run/docker.sock
17
22
role : tasks
You can’t perform that action at this time.
0 commit comments