Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Jun 11, 2024
1 parent abade5c commit 894dd71
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion examples/self-diagnostics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["rt-tokio"]}
opentelemetry-stdout = { path = "../../opentelemetry-stdout"}
opentelemetry-appender-tracing = { path = "../../opentelemetry-appender-tracing"}
tokio = { workspace = true, features = ["full"] }
serde_json = { workspace = true }
tracing = { workspace = true, features = ["std"]}
tracing-core = { workspace = true }
tracing-subscriber = { version = "0.3.18", features = ["env-filter","registry", "std"]}
Expand Down
4 changes: 0 additions & 4 deletions examples/self-diagnostics/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,3 @@ services:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "4318:4318" # OTLP HTTP receiver




2 changes: 1 addition & 1 deletion examples/self-diagnostics/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync + 'static>> {
let counter = meter.u64_counter("my_counter").init();

// Record measurements with unique key-value pairs to exceed the cardinality limit
// and trigger error message
// of 2000 and trigger error message
for i in 0..3000 {
counter.add(
10,
Expand Down

0 comments on commit 894dd71

Please sign in to comment.