summaryrefslogtreecommitdiff
path: root/src/ctrace
Commit message (Collapse)AuthorAgeFilesLines
* fix additional links after branch renaming (master -> main)Ronny2021-01-251-1/+1
|
* Support jaeger http reporterILYA Khlopotov2020-03-022-11/+45
|
* Add `external` tag to opentrace eventsILYA Khlopotov2020-03-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This PR adds an ability to selectively enable opentracing for HTTP requests with X-B3-... headers. This is helpful in following cases: - tracing all requests with X-B3-... headers `all = (#{external := E}) when E == true -> true` - tracing all requests to specific database with X-B3-... headers ``` all = (#{external := E, 'db.name' := Db}) when E == true andalso Db == <<"foo">> -> true ``` - tracing requests to specific endpoint with X-B3-... headers ``` db.design.view.read = (#{external := E, 'design.id' := Name}) when E == true andalso Name == <<"bar">> -> true ``` I want to remind that we support following X-B3-... headers: - X-B3-TraceId - X-B3-SpanId - X-B3-ParentSpanId - B3 which is in the following format <TraceId>-<SpanId>-<1 | 0>-<ParentSpanId>
* Add ctrace applicationILYA Khlopotov2020-03-0212-0/+1702