Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(plugin): implement postgres plugin #417

Merged
merged 25 commits into from
Oct 30, 2019
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0212dea
feat(pg): implement postgres plugin
Oct 9, 2019
62ecb39
fix: linting
Oct 9, 2019
f8d885b
fix: docker starting not locally
Oct 9, 2019
3ed0cf3
Merge branch 'master' into markwolff/impl-pg-plugin
Oct 9, 2019
9b90fde
fix: compile errors from merge
Oct 9, 2019
c14b33f
fix: linting
Oct 9, 2019
dd1a7d3
refactor: use helper functions for span building
Oct 15, 2019
7a854fe
fix: add callback patching to end span
Oct 16, 2019
eafdb3d
fix: add required attributes, address comments
Oct 18, 2019
7504ba7
fix: lint errors
Oct 18, 2019
9316ff5
Merge branch 'master' into markwolff/impl-pg-plugin
Oct 18, 2019
bfb19d3
refactor: start named spans in query handlers
Oct 21, 2019
64a2a8b
fix: linting errors
Oct 21, 2019
10fd6ca
Merge branch 'master' into markwolff/impl-pg-plugin
Oct 21, 2019
d81e4b0
fix: circleci config, make pg helpers nonexported
Oct 21, 2019
297e699
Merge branch 'markwolff/impl-pg-plugin' of github.com:markwolff/opent…
Oct 21, 2019
208d3a9
fix: linting
Oct 21, 2019
f986476
docs: add supported versions
Oct 21, 2019
644f5f1
fix: pass PG env to spawned container
Oct 21, 2019
b3a83b4
fix: remove hardcoded shouldTest
markwolff Oct 23, 2019
ccefe01
Merge branch 'master' into markwolff/impl-pg-plugin
mayurkale22 Oct 23, 2019
fefb04e
Merge branch 'master' into markwolff/impl-pg-plugin
mayurkale22 Oct 28, 2019
4e24474
test: add span tests for pg driver errors
markwolff Oct 28, 2019
0279784
chore: remove hardcode shouldTest
markwolff Oct 29, 2019
bbdc02d
Merge branch 'master' into markwolff/impl-pg-plugin
mayurkale22 Oct 29, 2019
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: linting
  • Loading branch information
Mark Wolff committed Oct 21, 2019
commit 208d3a99636ca3d92ffb4c6e9f4ae8b36ad58cd0
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-postgres/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function arrayStringifyHelper<T>(arr: Array<T>): string {
function getCommandFromText(text?: string): string {
if (!text) return 'unknown';
const words = text.split(' ');
return (words[0].length > 0) ? words[0] : 'unknown';
return words[0].length > 0 ? words[0] : 'unknown';
}

function getJDBCString(params: PgClientConnectionParams) {
Expand Down