Skip to content

Commit

Permalink
chore: some small cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm committed Aug 4, 2023
1 parent d118152 commit 7e337ab
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG4.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

==== Unreleased

See the <<upgrade-to-v4>> guide.

[float]
===== Breaking changes

Expand Down
3 changes: 0 additions & 3 deletions examples/trace-http-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@

const apm = require('../').start({
serviceName: 'example-trace-http-request',
// Now that OpenTelemetry has been GA for a while, the Elastic-specific
// 'elastic-apm-traceparent' header is rarely needed.
useElasticTraceparentHeader: false,
});

const http = require('http');
Expand Down
1 change: 0 additions & 1 deletion examples/trace-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

require('../').start({
serviceName: 'example-trace-http',
useElasticTraceparentHeader: false,
// 'usePathAsTransactionName' can be useful when not using a web framework
// with a router. See the following for details:
// https://www.elastic.co/guide/en/apm/agent/nodejs/current/custom-stack.html#custom-stack-route-naming
Expand Down
2 changes: 1 addition & 1 deletion test/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import assert from 'assert'

const agentOpts: AgentConfigOptions = {
captureExceptions: false,
metricsInterval: '0',
metricsInterval: '0s',
centralConfig: false
}
apm.start(agentOpts)
Expand Down

0 comments on commit 7e337ab

Please sign in to comment.