summaryrefslogtreecommitdiff
path: root/doc/api/sidekiq_metrics.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/sidekiq_metrics.md')
-rw-r--r--doc/api/sidekiq_metrics.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/sidekiq_metrics.md b/doc/api/sidekiq_metrics.md
index 95449d1ff77..76aa04077c7 100644
--- a/doc/api/sidekiq_metrics.md
+++ b/doc/api/sidekiq_metrics.md
@@ -14,7 +14,7 @@ latency.
GET /sidekiq/queue_metrics
```
-```bash
+```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/sidekiq/queue_metrics
```
@@ -39,7 +39,7 @@ List information about all the Sidekiq workers registered to process your queues
GET /sidekiq/process_metrics
```
-```bash
+```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/sidekiq/process_metrics
```
@@ -81,7 +81,7 @@ List information about the jobs that Sidekiq has performed.
GET /sidekiq/job_stats
```
-```bash
+```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/sidekiq/job_stats
```
@@ -106,7 +106,7 @@ List all the currently available information about Sidekiq.
GET /sidekiq/compound_metrics
```
-```bash
+```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/sidekiq/compound_metrics
```