[
https://issues.apache.org/jira/browse/BEAM-8131?focusedWorklogId=307343&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-307343
]
ASF GitHub Bot logged work on BEAM-8131:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Sep/19 17:15
Start Date: 05/Sep/19 17:15
Worklog Time Spent: 10m
Work Description: Ardagan commented on pull request #9482: [BEAM-8131]
Provide Kubernetes setup for Prometheus
URL: https://github.com/apache/beam/pull/9482#discussion_r321381106
##########
File path: .test-infra/metrics/README.md
##########
@@ -84,23 +95,31 @@ docker-compose build
# Spinup docker-compose related containers.
docker-compose up
+docker-compose -f docker-compose.prometheus.yml up
+
+# The above commands can be combined.
+docker-compose up -f docker-compose.yml -f docker-compose.prometheus.yml up
```
After running these commands, you can access the services running on your local
machine:
* Grafana: http://localhost:3000
-* Postgres DB: localhost:5432
+* Postgres DB: http://localhost:5432
+* Prometheus: http://localhost:9090
+* Pushgateway: http://localhost:9091
+* Alertmanager: http://localhost:9093
If you're deploying for the first time on your machine, follow the wiki
instructions
on how to manually [configure
Grafana](https://cwiki.apache.org/confluence/display/BEAM/Community+Metrics#CommunityMetrics-GrafanaUI).
-Grafana and Postgres containers persist data to Docker volumes, which will be
+Grafana, Postgres and Prometheus containers persist data to Docker volumes,
which will be
restored on subsequent runs. To start from a clean state, you must also wipe
out
these volumes. (List volumes via `docker volume ls`)
## Kubernetes setup
-Kubernetes deployment instructions are maintained in the
-[wiki](https://cwiki.apache.org/confluence/display/BEAM/Community+Metrics).
+Kubernetes deployment instructions are maintained in the wiki:
+* [Community
metrics](https://cwiki.apache.org/confluence/display/BEAM/Community+Metrics)
+* [Test metrics]() <!-- TODO: add a link to instructions -->
Review comment:
Please, add link or create jira ticket for this. It is an important part of
documentation we do not want to miss.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 307343)
Time Spent: 50m (was: 40m)
> Provide Kubernetes setup with Prometheus
> ----------------------------------------
>
> Key: BEAM-8131
> URL: https://issues.apache.org/jira/browse/BEAM-8131
> Project: Beam
> Issue Type: Sub-task
> Components: testing
> Reporter: Kamil Wasilewski
> Assignee: Kamil Wasilewski
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)