grafana / grafana/pyroscope-ruby

Ruby gem: Pyroscope.tag_wrapper cause panic in case pyroscope is not configured

Open
#50 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
1
Forks
4
Avg merge
3d 12h
Merged PRs (30d)
3

Description

**Describe the bug you encountered:**

```
$ pry
[1] pry(main)> require "pyroscope"
=> true
[2] pry(main)> Pyroscope.tag_wrapper("a" => "b")
thread '' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })', src/lib.rs:298:64
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
Abort trap: 6
```
---

**pyroscope-rs version and environment**

pyroscope (0.5.10) gem

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.