-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(opentelemetry-plugin-pg): omit pg.values by default (#174)
* refactor(opentelemetry-plugin-pg): fix eslint warnings * refactor(opentelemetry-plugin-pg): do not intersect types all the time * refactor(opentelemetry-plugin-pg): rename interface to reduce confusion * refactor(opentelemetry-plugin-pg): clarify method signatures * feat(opentelemetry-plugin-pg): do not track values by default
- Loading branch information
1 parent
711f2ce
commit 6af1022
Showing
6 changed files
with
215 additions
and
50 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
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
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 |
---|---|---|
|
@@ -211,7 +211,6 @@ describe('[email protected]', () => { | |
const attributes = { | ||
...DEFAULT_ATTRIBUTES, | ||
[AttributeNames.DB_STATEMENT]: query, | ||
[AttributeNames.PG_VALUES]: '[0]', | ||
}; | ||
const events: TimedEvent[] = []; | ||
const span = tracer.startSpan('test span'); | ||
|
@@ -273,7 +272,6 @@ describe('[email protected]', () => { | |
const attributes = { | ||
...DEFAULT_ATTRIBUTES, | ||
[AttributeNames.DB_STATEMENT]: query, | ||
[AttributeNames.PG_VALUES]: '[0]', | ||
}; | ||
const events: TimedEvent[] = []; | ||
const span = tracer.startSpan('test span'); | ||
|
@@ -294,7 +292,6 @@ describe('[email protected]', () => { | |
const attributes = { | ||
...DEFAULT_ATTRIBUTES, | ||
[AttributeNames.DB_STATEMENT]: query, | ||
[AttributeNames.PG_VALUES]: '[0]', | ||
}; | ||
const events: TimedEvent[] = []; | ||
const span = tracer.startSpan('test span'); | ||
|
@@ -320,7 +317,6 @@ describe('[email protected]', () => { | |
...DEFAULT_ATTRIBUTES, | ||
[AttributeNames.PG_PLAN]: name, | ||
[AttributeNames.DB_STATEMENT]: query, | ||
[AttributeNames.PG_VALUES]: '[0]', | ||
}; | ||
const events: TimedEvent[] = []; | ||
const span = tracer.startSpan('test span'); | ||
|
Oops, something went wrong.