Browse Source

format-yaml-files

pull/18/head
fedy95 4 years ago
parent
commit
36003d4c71
  1. 2
      .drone.yml
  2. 10
      .editorconfig
  3. 2
      alertmanager/config.yml
  4. 2
      docker-compose.yml
  5. 2
      grafana/provisioning/dashboards/dashboard.yml
  6. 2
      grafana/provisioning/datasources/datasource.yml
  7. 2
      prometheus/prometheus.yml
  8. 2
      promtail/etc/promtail/config.yml

2
.drone.yml

@ -1,3 +1,4 @@
---
kind: pipeline
type: ssh
name: default
@ -25,3 +26,4 @@ trigger:
- master
event:
- push
...

10
.editorconfig

@ -1,10 +1,10 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
[*.json]
end_of_line = lf
indent_style = space
indent_size = 4
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100

2
alertmanager/config.yml

@ -1,3 +1,4 @@
---
route:
receiver: 'slack'
@ -9,3 +10,4 @@ receivers:
username: 'Prometheus'
channel: '#<channel-name>'
api_url: 'https://hooks.slack.com/services/<webhook-id>'
...

2
docker-compose.yml

@ -1,3 +1,4 @@
---
version: "3"
networks:
@ -202,3 +203,4 @@ services:
- monitor-net
labels:
org.label-schema.group: "monitoring"
...

2
grafana/provisioning/dashboards/dashboard.yml

@ -1,3 +1,4 @@
---
apiVersion: 1
providers:
@ -10,3 +11,4 @@ providers:
allowUiUpdates: true
options:
path: /etc/grafana/provisioning/dashboards
...

2
grafana/provisioning/datasources/datasource.yml

@ -1,3 +1,4 @@
---
apiVersion: 1
datasources:
@ -16,3 +17,4 @@ datasources:
basicAuth: false
isDefault: false
editable: true
...

2
prometheus/prometheus.yml

@ -1,3 +1,4 @@
---
global:
scrape_interval: 15s
evaluation_interval: 15s
@ -42,3 +43,4 @@ alerting:
static_configs:
- targets:
- 'alertmanager:9093'
...

2
promtail/etc/promtail/config.yml

@ -1,3 +1,4 @@
---
server:
http_listen_port: 9080
grpc_listen_port: 0
@ -24,3 +25,4 @@ scrape_configs:
labels:
job: varlogs
__path__: /var/log/*log
...