-
Notifications
You must be signed in to change notification settings - Fork 117
PostgreSQL instrumentation #415
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
Merged
brettmc
merged 19 commits into
open-telemetry:main
from
intuibase:postgresql_instrumentation
Aug 1, 2025
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
93c363a
chore: update dependabot configuration [skip ci]
github-actions[bot] 552df1f
PostgreSQL instrumentation
intuibase c5d146b
Instrumentation of asynchronous commands
intuibase 9b85a8f
Large object instrumentation
intuibase 80bb6c3
Merge branch 'open-telemetry:main' into main
intuibase 38f0f9c
Merge branch 'main' into postgresql_instrumentation
intuibase ccb94b0
PostgreSQL instrumentation test
intuibase e1585f9
PgSqlTracker tests
intuibase 6516226
Fixed static analysis issues
intuibase b179bea
Improved test
intuibase 7f999ac
Added readme
intuibase 38d7643
Add to workflow
intuibase cd973a7
Healtcheck fix
intuibase c4cb5f8
Healtcheck fix
intuibase d78ff39
Healtcheck fix
intuibase 839b141
Missing file
intuibase 5f03fe8
Missing .phan directory
intuibase 3edfabf
Fixed phpstan analysis issues
intuibase e6515b1
Added gitsplit entry
intuibase File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -8,6 +8,7 @@ RUN install-php-extensions \ | |
mongodb \ | ||
amqp \ | ||
rdkafka \ | ||
mysqli | ||
mysqli \ | ||
pgsql | ||
|
||
USER php |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
CREATE DATABASE otel_db2; | ||
|
||
\connect otel_db2; | ||
|
||
CREATE USER otel_user2 WITH PASSWORD 'otel_passwd'; | ||
|
||
GRANT ALL PRIVILEGES ON DATABASE otel_db2 TO otel_user2; | ||
|
||
\connect otel_db; | ||
|
||
CREATE TABLE users ( | ||
id SERIAL PRIMARY KEY, | ||
name VARCHAR(255) NOT NULL, | ||
email VARCHAR(255) UNIQUE NOT NULL, | ||
created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP | ||
); | ||
|
||
INSERT INTO users (name, email) VALUES | ||
('John Doe', 'john.doe@example.com'), | ||
('Jane Smith', 'jane.smith@example.com'), | ||
('Bob Johnson', 'bob.johnson@example.com'); | ||
|
||
CREATE TABLE products ( | ||
id SERIAL PRIMARY KEY, | ||
name VARCHAR(255) NOT NULL, | ||
price NUMERIC(10, 2) NOT NULL, | ||
stock INT NOT NULL DEFAULT 0 | ||
); | ||
|
||
INSERT INTO products (name, price, stock) VALUES | ||
('Laptop', 999.99, 10), | ||
('Smartphone', 499.99, 25), | ||
('Headphones', 49.99, 50); |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
* text=auto | ||
|
||
*.md diff=markdown | ||
*.php diff=php | ||
|
||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.php-cs-fixer.php export-ignore | ||
/phpstan.neon.dist export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/psalm.xml.dist export-ignore | ||
/tests export-ignore |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
/vendor/ |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.