8000 GitHub - andy-g/loki-tempo-dotnet: Testing loki & tempo using a dotnet core web api
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andy-g/loki-tempo-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring Grafana Loki & Tempo

Setup

To handle shipping logs from docker, we need to install a docker plugin:

docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions

Once that's done, we can simple bring up the services:

docker-compose up -d

Once that's up you should be able to access the following services:

After executing a call to the /WeatherForecast using the swagger docs, you should be able to see some logs in grafana. If you expand the Getting weather forecast traceID=... log, you should be able to click on a Tempo button to view the associated trace.

ToDo

Currently, although a button appears on the trace span to view Logs for this span, this doesn't work. I assume there is some configuration on the Data Source that is required.

About

Testing loki & tempo using a dotnet core web api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0