-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metrics documentation update #171
Changes from all commits
9a8af98
361cbe0
e775072
1f3ce76
c57d94a
777b018
03f6606
7e7e451
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file needs to be used along with `docker-compose.mocks.yml`: | ||
# docker-compose -f test/docker/docker-compose.mocks.yml -f test/docker/docker-compose.mpush.yml ... | ||
# PRIV=priv docker-compose -f test/docker/docker-compose.mocks.yml -f test/docker/docker-compose.mpush.yml ... | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need this change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
version: '3' | ||
|
||
services: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file needs to be used along with `docker-compose.mocks.yml` and `docker-compose.mpush.yml: | ||
# PRIV=priv docker-compose -f test/docker/docker-compose.mocks.yml -f test/docker/docker-compose.mpush.yml -f test/docker/docker-compose.prometheus.yml ... | ||
version: '3' | ||
|
||
services: | ||
prometheus: | ||
image: prom/prometheus | ||
container_name: mongoose-push-prometheus | ||
ports: | ||
- "9090:9090" | ||
volumes: | ||
- ./prometheus.yml:/etc/prometheus/prometheus.yml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
scrape_configs: | ||
- job_name: 'mongoose-push' | ||
scheme: 'https' #MongoosePush exposes encrypted endpoint - HTTPS | ||
tls_config: #The default certs used by MongoosePush are self-signed | ||
insecure_skip_verify: true #For checking purposes we can ignore certs verification | ||
static_configs: | ||
- targets: ['mongoose-push:8443'] | ||
labels: | ||
group: 'production' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 🙂