Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0149bcf
feat: initial implementation of restify instrumentation
rauno56 Apr 5, 2021
96f73e6
feat: create spans instead of altering parent spans
rauno56 Apr 6, 2021
4f920f5
feat: clean examples up
rauno56 Apr 6, 2021
92af233
feat: make exporter configurable like other examples
rauno56 Apr 7, 2021
3c37d7f
feat: implement disabling restify instrumentation
rauno56 Apr 8, 2021
32b8931
test: be more verbose in tests and check all spans
rauno56 Apr 8, 2021
ee64e4d
fix: remove the handlers from req, those events seem not to be fired
rauno56 Apr 8, 2021
b6c8318
refactor: export the instrumentation as default
rauno56 Apr 8, 2021
a46adb7
fix: thrown errors are generally not caught in restify
rauno56 Apr 8, 2021
5d67867
feat: enable the instrumentation for all versions after 4.0.0
rauno56 Apr 8, 2021
c4657df
docs: update docs and metadata in package.json and README.md files
rauno56 Apr 8, 2021
cbbdea0
style: fix linting errors
rauno56 Apr 9, 2021
c760527
style: make _moduleVersion optional
rauno56 Apr 12, 2021
4ca8036
feat: use more descriptive span name
rauno56 Apr 13, 2021
e9ab22e
feat: rename HTTP span
rauno56 Apr 13, 2021
0dc22aa
feat: remove creating additional span on the client side
rauno56 Apr 13, 2021
6c380a2
docs: remove TODO
rauno56 Apr 13, 2021
3b8072b
feat: update version
rauno56 Apr 13, 2021
fa55dab
test: test more verbose API
rauno56 Apr 13, 2021
ac8d41b
fix: update version
rauno56 Apr 14, 2021
520d54e
fix: update the example in README
rauno56 Apr 14, 2021
b5be54c
fix: reference @opentelemetry/instrumentation-http correctly
rauno56 Apr 14, 2021
14772ba
feat: remove lodash.once
rauno56 Apr 15, 2021
c8914d1
style: rename constants to be more verbose
rauno56 Apr 15, 2021
88f6052
feat: handle cases with promises
rauno56 Apr 15, 2021
df87efd
feat: support async and promise-returning handlers
rauno56 Apr 15, 2021
4b58434
style: use RestifyInstrumentation as the import name
rauno56 Apr 15, 2021
c4dee5c
feat: let the example be broken until the publish for consistency
rauno56 Apr 15, 2021
f8bcb5c
fix: remove lodash.once types
rauno56 Apr 15, 2021
fd906b1
Merge branch 'main' into feat/restify-instrumentation
vmarchaud Apr 15, 2021
f4f4b08
Merge branch 'main' into feat/restify-instrumentation
rauno56 Apr 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: reference @opentelemetry/instrumentation-http correctly
  • Loading branch information
rauno56 committed Apr 15, 2021
commit b5be54cf5dee1666a5d88ccdc0a0ecb80c7767b2
2 changes: 1 addition & 1 deletion examples/restify/tracer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const { SimpleSpanProcessor, ConsoleSpanExporter } = require('@opentelemetry/tra
const { JaegerExporter } = require('@opentelemetry/exporter-jaeger');
const { ZipkinExporter } = require('@opentelemetry/exporter-zipkin');

const { HttpInstrumentation } = require('@opentelemetry/instrumentation-http');
const { RestifyInstrumentation: Instrumentation } = require('../../plugins/node/opentelemetry-instrumentation-restify');
const { HttpInstrumentation } = require('../../../opentelemetry-js/packages/opentelemetry-instrumentation-http');

const Exporter = ((exporterParam) => {
if (typeof exporterParam === 'string') {
Expand Down