Skip to content

Connection attributes in redis database spans#2398

Merged
antonpirker merged 19 commits into
masterfrom
antonpirker/2270-db-connection-attributes-in-spans-redis
Oct 11, 2023
Merged

Connection attributes in redis database spans#2398
antonpirker merged 19 commits into
masterfrom
antonpirker/2270-db-connection-attributes-in-spans-redis

Conversation

@antonpirker

@antonpirker antonpirker commented Sep 28, 2023

Copy link
Copy Markdown
Contributor

This adds db connection parameters like database host, database port, database name, database system ("redis" in this case) to all database spans that are created by our Redis integration. Works for async and sync connections to redis and redis cluster.

Needed for project Starfish.

fixes #2390

@antonpirker
antonpirker force-pushed the antonpirker/2270-db-connection-attributes-in-spans-redis branch from 1541f9c to 3550016 Compare September 29, 2023 08:14
@antonpirker
antonpirker marked this pull request as ready for review September 29, 2023 08:15

@sentrivana sentrivana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread tests/integrations/redis/test_redis.py
@antonpirker
antonpirker enabled auto-merge (squash) October 4, 2023 09:35
@antonpirker
antonpirker merged commit fc638fd into master Oct 11, 2023
@antonpirker
antonpirker deleted the antonpirker/2270-db-connection-attributes-in-spans-redis branch October 11, 2023 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DB Connection Attributes for Redis

2 participants