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

Add support for DB spans with Supabase #3661

Open
Dhrumil-Sentry opened this issue Oct 15, 2024 · 0 comments
Open

Add support for DB spans with Supabase #3661

Dhrumil-Sentry opened this issue Oct 15, 2024 · 0 comments
Labels
Enhancement New feature or request New Integration Integrating with a new framework or library

Comments

@Dhrumil-Sentry
Copy link

Problem Statement

I have the following code snippet:

@app.route('/api/job-experience', methods=['GET'])
def get_job_experience():
    user_id = get_user_id()
    print(f"User ID: {user_id}")  # Print user ID for each action
    if not user_id:
        return jsonify({'error': 'Unauthorized'}), 401

    # Retrieve all job experiences from the 'job_experiences' table in Supabase for the authenticated user
    response = supabase.table('job_experiences').select("*").eq('user_id', user_id).execute()
    job_experiences = response.data

    return jsonify({'jobExperiences': job_experiences}), 200

But my trace does not have any db spans
Image

Solution Brainstorm

.

@sentrivana sentrivana added Enhancement New feature or request New Integration Integrating with a new framework or library labels Oct 16, 2024
@sentrivana sentrivana changed the title DB Spans don't show while using Supabase Add support for DB spans with Supabase Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request New Integration Integrating with a new framework or library
Projects
None yet
Development

No branches or pull requests

2 participants