Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(monitors): Pass SENTRY_TRACE_ID down execution path (#1441)
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
- Loading branch information
1 parent
5b2f5c2
commit de0895c
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
``` | ||
$ sentry-cli monitors run 85a34e5a-c0b6-11ec-9d64-0242ac120002 -- sh -c 'env | grep SENTRY_MONITOR_ID' | ||
$ sentry-cli monitors run 85a34e5a-c0b6-11ec-9d64-0242ac120002 -- sh -c 'env | sort | grep -E "SENTRY_MONITOR_ID|SENTRY_TRACE_ID"' | ||
? success | ||
SENTRY_MONITOR_ID=85a34e5a-c0b6-11ec-9d64-0242ac120002 | ||
SENTRY_TRACE_ID=[..] | ||
|
||
``` |