Skip to content
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

Example ReadMe.md is incomplete #511

Open
purna344 opened this issue Sep 30, 2022 · 1 comment
Open

Example ReadMe.md is incomplete #511

purna344 opened this issue Sep 30, 2022 · 1 comment
Assignees

Comments

@purna344
Copy link

I have followed the instructions at Example_ReadMe and executed the below commands.

Through the docker logs, I have figured out the Prometheus (http://0.0.0.0:9090/) and Grafana(http://0.0.0.0:3000/login) end points

I don't have any idea about how to see the logs/metrics/traces. I am seeing nothing at Prometheus/Grafana end points.
Please add the more details about how view these metrics with some screen shots at READMe.md file or at your documentation page

  • What metrics Prometheus will display for this example?
  • What dashboards Grafana will show for this example?
cd mesmer/example/docker
docker-compose up

cd  mesmer
# build the example jar
sbt assembly

# run the example jar
 java -javaagent:/Users/abc/Downloads/opentelemetry-javaagent.jar -Dotel.javaagent.extensions=/Users/abc
ddineni/Downloads/mesmer-otel-extension.jar -Dotel.javaagent.debug=false -Dotel.service.name=mesmer-example -Dotel.metric.export.interval=5000 -cp /Users/abc/Dow
nloads/mesmer/example/target/scala-2.13/mesmer-akka-example.jar example.Boot
curl -X GET http://localhost:8080/api/v1/account/a087b8b7-1951-47fb-961b-c1b97129fcfb/balance
curl -X POST http://localhost:8080/api/v1/account/a087b8b7-1951-47fb-961b-c1b97129fcfb/deposit/100

curl -X GET http://localhost:8080/api/v1/account/a087b8b7-1951-47fb-961b-c1b97129fcfb/balance
{"id":"a087b8b7-1951-47fb-961b-c1b97129fcfb","balance":100.0}
@guda249
Copy link
Contributor

guda249 commented Nov 5, 2022

I would like to pick up this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants