Skip to content

Commit

Permalink
fixed format by using yarn run format:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Graff committed Sep 10, 2024
1 parent 23382eb commit 1b3c65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/how-tos/access-logs-loki.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Grafana logs can be accessed programmatically from within a Jupyter Notebook or

- Create a Grafana Service Account and API token by following Grafana docs: https://grafana.com/docs/grafana/latest/administration/service-accounts/
- Use example code below to retrieve logs from a specific Loki Data Source UID:

```import requests
from datetime import datetime, timedelta
import requests
Expand Down Expand Up @@ -139,7 +140,6 @@ else:
print(f'Error: {response.status_code}, {response.text}')
```


## Additional Information

- [Understand Log Query Structure](https://grafana.com/docs/loki/latest/query/log_queries/)
Expand Down

0 comments on commit 1b3c65b

Please sign in to comment.