-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrender.yaml
45 lines (44 loc) · 1.43 KB
/
render.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
- type: web
name: prometheus
region: frankfurt
plan: starter
runtime: docker
buildFilter:
paths:
- prometheus/**/*
dockerfilePath: ./prometheus/Dockerfile
dockerContext: ./prometheus
dockerCommand: /bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus --web.console.libraries=/usr/share/prometheus/console_libraries --web.console.templates=/usr/share/prometheus/consoles --web.enable-remote-write-receiver
envVars:
# Setting the PORT environment variable tells render that the service is
# listening to 9090 It is important to set this value statically as it is
# used in the prometheus/prometheus.yml config file.
#
# See https://github.com/autometrics-dev/render-prometheus for a more
# complex blueprint component that will allow different configurations
- key: PORT
value: 9090
disk:
name: prometheus-tsdb
mountPath: /prometheus
sizeGB: 3
- type: web
name: otelcol
region: frankfurt
plan: starter
runtime: docker
buildFilter:
paths:
- otelcol/**/*
dockerfilePath: ./otelcol/Dockerfile
dockerContext: ./otelcol
dockerCommand: /otelcol --config=/etc/otelcol/config.yaml
envVars:
- key: PORT
value: 4318
- key: OTEL_PROM_URL
fromService:
name: prometheus
type: pserv
property: hostport