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

Connection attributes in redis database spans #2398

Merged

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Sep 28, 2023

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
Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

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

LGTM

tests/integrations/redis/test_redis.py Show resolved Hide resolved
@antonpirker antonpirker enabled auto-merge (squash) October 4, 2023 09:35
@antonpirker antonpirker merged commit fc638fd into master Oct 11, 2023
284 checks passed
@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