Commit f0451bd
authored
Fix Resource constructor examples to use Resource.create() (#4925)
* Fix Resource constructor examples to use Resource.create
Signed-off-by: Rohan Sood <rohansood10@users.noreply.github.com>
* retrigger CI
Signed-off-by: Rohan Sood <rohansood10@users.noreply.github.com>
* Fix Resource constructor in OTLP exporter examples
Address review feedback: also update Resource(attributes=...) to
Resource.create(...) in otlp-proto-grpc and otlp-proto-http exporter
module docstrings.
---------
Signed-off-by: Rohan Sood <rohansood10@users.noreply.github.com>
Co-authored-by: Rohan Sood <rohansood10@users.noreply.github.com>1 parent f32b684 commit f0451bd
File tree
4 files changed
+4
-4
lines changed- docs
- examples/opencensus-shim
- exporter/prometheus
- exporter
- opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc
- opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http
4 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments