Skip to content

Commit

Permalink
update outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
vordimous committed Oct 31, 2023
1 parent 3adb247 commit 43a67ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/tutorials/metrics/prometheus-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@ start -v;

@[code{30-30} bash:no-line-numbers](./metrics_docker_run.sh)

> Hello, world
```output:no-line-numbers
Hello, world
```

### View Metrics

Go to [http://localhost:7190/metrtics](http://localhost:7190/metrtics) to see the collected data or run the below `curl` command.

@[code{31-31} bash:no-line-numbers](./metrics_docker_run.sh)

```text
```output:no-line-numbers
# TYPE stream_opens_sent_total counter
stream_opens_sent_total{namespace="Metrics-example",binding="tcp_server"} 2
Expand Down
4 changes: 3 additions & 1 deletion src/tutorials/rest/rest-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ curl -X POST http://localhost:7114/items -H 'Content-Type: application/json' -d
curl http://localhost:7114/items
```

> [{"greeting":"Hello, world"}]
```output:no-line-numbers
[{"greeting":"Hello, world"}]
```

### Remove the running containers

Expand Down

0 comments on commit 43a67ea

Please sign in to comment.