nginx job from prometheus/26.3.0
Github source:
5cc2ed7
or
master branch
Properties¶
nginx
¶
alertmanager
¶
auth_users
¶Array of Alertmanager auth users
- Example
- name: user1 password: password1 - name: user2 password: password2
cross_zone_load_balancing
¶If disabled, this will only route traffic to instances in the same availability zone
- Default
true
headers
¶Arbitrary headers to set on alertmanager server
- Default
{}
http_port
¶Port that proxy will listen on for Alertmanager HTTP connections
- Default
9093
https_port
¶Port that proxy will listen on for Alertmanager HTTPS connections
- Default
19093
path
¶Alertmanager path
- Default
/
server_name
¶Server name that proxy will listen on for Alertmanager HTTP(S) connections
- Default
_
client_header_buffer_size
¶Sets buffer size for reading client request header
- Default
1k
grafana
¶
auth_users
¶Array of Grafana auth users
- Example
- name: user1 password: password1 - name: user2 password: password2
cross_zone_load_balancing
¶If disabled, this will only route traffic to instances in the same availability zone
- Default
true
headers
¶Arbitrary headers to set on grafana server
- Default
{}
http_port
¶Port that proxy will listen on for Grafana HTTP connections
- Default
3000
https_port
¶Port that proxy will listen on for Grafana HTTPS connections
- Default
13000
path
¶Grafana path
- Default
/
server_name
¶Server name that proxy will listen on for Grafana HTTP(S) connections
- Default
_
keepalive_timeout
¶Timeout for keep-alive connections
- Default
7200
large_client_header_buffers
¶
number
¶Sets the maximum number of buffers used for reading large client request header
- Default
4
size
¶Sets the maximum size of buffers used for reading large client request header
- Default
8k
max_upload_size
¶File upload maximum size
- Default
5000m
prometheus
¶
auth_users
¶Array of Prometheus auth users. The first one in the array is used for Grafana datasource authentication
- Example
- name: user1 password: password1 - name: user2 password: password2
cross_zone_load_balancing
¶If disabled, this will only route traffic to instances in the same availability zone
- Default
true
headers
¶Arbitrary headers to set on prometheus server
- Default
{}
http_port
¶Port that proxy will listen on for Prometheus HTTP connections
- Default
9090
https_port
¶Port that proxy will listen on for Prometheus HTTPS connections
- Default
19090
path
¶Prometheus path
- Default
/
server_name
¶Server name that proxy will listen on for Prometheus HTTP(S) connections
- Default
_
proxy_connect_timeout
¶Timeout for the connection to the upstream server
- Default
300
proxy_read_timeout
¶Timeout for read queries to the upstream server
- Default
120
proxy_send_timeout
¶Timeout for send queries to the upstream server
- Default
120
resolver
¶
address
¶DNS Resolver for Nginx
enable_ipv6
¶Enable IPv6 lookups (only applies when using nginx.resolver.address)
- Default
false
server_names_hash_bucket_size
¶The bucket size for the server names hash tables
ssl_cert
¶SSL Certificate (PEM encoded)
ssl_ciphers
¶Enable ciphers
- Default
ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:HIGH:!MD5:!aNULL:!EDH
ssl_key
¶SSL private key (PEM encoded)
ssl_only
¶Enable only HTTPS requests
- Default
false
ssl_protocols
¶Enable protocols
- Default
TLSv1 TLSv1.1 TLSv1.2
ssl_session_cache
¶Types and sizes of caches that store session parameters
- Default
shared:SSL:10m
ssl_session_timeout
¶Timeout for reusing the previously negotiated cryptographic parameters
- Default
7200
worker_connections
¶Number of Nginx connections per worker
- Default
8192
worker_processes
¶Number of Nginx workers
- Default
2
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/nginx/
directory
(learn more).
bin/nginx_ctl
(frombin/nginx_ctl
)bin/pre-start
(frombin/pre-start
)config/alertmanager_location.conf
(fromconfig/alertmanager_location.conf
)config/grafana_location.conf
(fromconfig/grafana_location.conf
)config/nginx.conf
(fromconfig/nginx.conf
)config/prometheus_location.conf
(fromconfig/prometheus_location.conf
)config/ssl_cert.pem
(fromconfig/ssl_cert.pem
)config/ssl_key.pem
(fromconfig/ssl_key.pem
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.