Open Dilhasha opened 8 months ago
B.4
This was due to an issue in the provided path.
The path needs to be the isolated path. Even when you have the prometheus.yml
in the current directory, it needs to be provided as ./prometheus.yml
as follows.
docker run -p 19090:9090 -v ./prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus
The mapping should be from file to file OR directory to directory.
@NipunaMadhushan Can we prioritize this to the update 9 related content plan?
Description
A. Suggestions for https://ballerina.io/learn/observe-ballerina-programs/
The below description can be structured better.
suggestion:
Ballerina achieves full observability by exposing itself to various external systems through three methods: monitoring metrics such as request count and response time statistics, performing distributed tracing, and analyzing logs.
Shall we add a table with what are the external tools we support for tracing, monitoring and logging?
In Step 2 under
Observe a Ballerina service
, We can mention thatBallerina.toml
can be updated if we are using a Ballerina project and in this case, we are using a single bal file, so we need to use the flag.B. Suggestions for https://ballerina.io/learn/observe-metrics/
The following description can be re-organized IMO, do we need to mention about analytics?
Configure advanced metrics
- let's mention we need to add it toConfig.toml
fileShall we mention that in this example we will use Prometheus for scraping the metrics and Grafana for visualization? Content gives the impression that we only support those.
docker run -p 19090:9090 -v <path_to_prometheus.yml>:/etc/prometheus/prometheus.yml prom/prometheus
Resulted in an error as follows.source /var/lib/docker/overlay2/436e68d98a7d660cf0e49f44ac50936a44dd2a79e9cd0631a67495ed1e064235/merged/etc/prometheus/prometheus.yml is not directory
Modified to the following it worked.
docker run -p 19090:9090 -v prometheus.yml:/etc/prometheus/ prom/prometheus
I noticed the same sample in the Prometheus documentation too using the path upto filename. Shall we check whether it's an edge case?
Steps to reproduce
Affected version(s)
Related website/documentation area
Related issue(s) (optional)
Suggested label(s) (optional)
Suggested assignee(s) (optional)