You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/metrics_sdk/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
# OpenTelemetry Ruby Metrics SDK Example
2
2
3
-
###metrics_collect.rb
3
+
## metrics_collect.rb
4
4
5
5
Run the script to see the metric data from console
6
6
7
7
```sh
8
8
ruby metrics_collect.rb
9
9
```
10
10
11
-
###metrics_collect_otlp.rb
11
+
## metrics_collect_otlp.rb
12
12
13
13
**WARN: this example doesn't work on alpine aarch64 container due to grpc installation issues.**
14
14
15
15
This example tests both the metrics sdk and the metrics otlp http exporter.
16
16
17
17
You can view the metrics in your favored backend (e.g. jaeger).
18
18
19
-
####1. Set up the local opentelemetry-collector.
19
+
### 1. Set up the local opentelemetry-collector.
20
20
21
21
Given you have a `config.yml` file in your current directory and Docker is installed on your machine, run the following commands to pull the collector image and run the collector.
22
22
@@ -56,17 +56,17 @@ service:
56
56
57
57
More information on how to setup the OTel collector can be found in the in [quick start docs](https://opentelemetry.io/docs/collector/quick-start/).
58
58
59
-
#### 2. Assign the endpoint value to your destination address
59
+
### 2. Assign the endpoint value to your destination address
0 commit comments