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

Update gateway-introspection.mdx #670

Merged
merged 2 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions orchestrators/guides/gateway-introspection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ curl -G -s https://loki.livepeer.report/loki/api/v1/query \

# logs from all regions between two timestamps (UNIX epoch nanoseconds)
curl -G -s https://loki.livepeer.report/loki/api/v1/query_range \
--data-urlencode "query={region=~\".+\"}" --data 'start=1688043600000000000' --data 'end=1688132768695047984' | jq
--data-urlencode "query={region=~\".+\"}" --data 'start=1727335380000000000' --data 'end=1727635380000000000' | jq

# logs from a specific region (e.g. NYC):
curl -G -s https://loki.livepeer.report/loki/api/v1/query \
--data-urlencode "query={region=~\"nyc\"}" | jq

# logs related to a specific orchestrator IP-address:
curl -G -s https://loki.livepeer.report/loki/api/v1/query \
--data-urlencode "query={region=~\".+\"} |= \"clientIP=37.228.130.23\"" | jq
--data-urlencode "query={region=~\".+\"} |= \"clientIP=121.127.46.156\"" | jq

# list of all possible regions:
curl -G -s https://loki.livepeer.report/api/prom/label/region/values | jq '.values'
curl -G -s https://loki.livepeer.report/loki/api/v1/label/region/values | jq '.data'
Copy link
Contributor Author

@pwilczynskiclearcode pwilczynskiclearcode Oct 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This url wasn't working

```
2 changes: 1 addition & 1 deletion self-hosting/self-hosting-with-docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ To get you started, the database snapshot includes a few predefined streams.

For properly testing a livestream input comparable to OBS output, you will want
a low-bitrate test file with no B-Frames and a short GOP length.
[Here's a sample appropriately-formatted Big Buck Bunny file you can use](BBB).
[Here's a sample appropriately-formatted Big Buck Bunny file you can use][BBB].
To stream in to your local box, you can use an `ffmpeg` command such as:

```shell
Expand Down
Loading