Skip to content

Commit

Permalink
feat(postgres sink): Add postgres sink (#21248)
Browse files Browse the repository at this point in the history
* feat(sinks): Initial postgres log sink implementation

* feat(sinks): Initial postgres log sink implementation

* test(sinks): Add integration test for postgres sink

* feat(sinks): postgres sink config unit tests

* docs(website): update components cue

* chore: update spelling checklist

* style: cargo fmt

* fix: clippy lint

* fix: clippy lint

* docs: add changelog

* docs: add changelog

* chore: rename postgres integration tests feature flag

* chore: rename postgres integration tests feature flag

* docs: include connection pool reference

* fix: fix compilation issue in benches

* chore: rename feature flag

* feat: update

* test: refactored test

* test: add new test & store timestamp instead of text

* test: add new test & store timestamp instead of text

* test: add new test & store timestamp instead of text

* test: add reference link

* test: add more tests

* chore: revert changes in postgresql_metrics integration test

* refactor: mv postgres integration test utils in test_utils

* feat: allow for metric events

* chore: update todo

* feat: update

* chore: update todo

* chore: update example

* chore: update todo

* chore: update feature gate

* chore: update components docs

* chore: fix typo in Cargo.toml

* test: add test for traces

* test: typed span in db

* fix: clippy lint

* fix: clippy lint

* test: add primary key violation test

* refactor: rename temp_table function

* test: reduce trace struct fields

* chore: remove todo

* feat: remove panic in postgres request creation

* feat: retry for some postgres errors

* chore: add docs about postgres connection string

* chore: update postgres sink documentation

* feat: throttle warn

* fix: clippy lints

* style: apply format

* docs: update generated components docs

* fix: spelling

* fix: semantic.yml

* fix: add period to warn message

* chore: update changelog

* Update src/sinks/postgres/config.rs

Co-authored-by: Pavlos Rontidis <pavlos.rontidis@gmail.com>

* chore: remove todo

* chore: remove todo

* chore: remove todo

* chore: remove todo

* chore: remove todo

* docs: initial postgres sink documentation

* docs: add how it works section

* docs: update website docs

* chore: update CI spelling & Cargo.lock

* dd-rust-license-tool write

* docs: change delivery to exactly_once

---------

Co-authored-by: Pavlos Rontidis <pavlos.rontidis@gmail.com>
  • Loading branch information
jorgehermo9 and pront authored Mar 6, 2025
1 parent 07f7562 commit 5e34f9b
Show file tree
Hide file tree
Showing 26 changed files with 1,728 additions and 46 deletions.
6 changes: 3 additions & 3 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ bytesize
califrag
califragilistic
CAROOT
cbor
cddl
cdylib
cef
Expand Down Expand Up @@ -256,7 +255,6 @@ hostpath
hoverable
hoverbear
httpdeliveryrequestresponse
httpdump
httpevent
hugepages
hugops
Expand Down Expand Up @@ -467,6 +465,7 @@ rcode
rdkafka
rdparty
readnone
recordset
rediss
redoctober
regexes
Expand Down Expand Up @@ -541,6 +540,7 @@ spencergilbert
spinlock
SPOF
spog
sqlx
srcaddr
srcport
SREs
Expand Down Expand Up @@ -592,6 +592,7 @@ threatmanager
Throughputs
Tiltfile
timberio
TIMESTAMPTZ
TKEY
tlh
tmpfs
Expand Down Expand Up @@ -672,7 +673,6 @@ wtimeout
WTS
xact
xlarge
XMODEM
xxs
YAMLs
YBv
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ jobs:
new_relic_logs sink
opentelemetry sink
papertrail sink
postgres sink
prometheus_exporter sink
prometheus_remote_write sink
pulsar sink
Expand Down
254 changes: 254 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5e34f9b

Please sign in to comment.