Giter Site home page Giter Site logo

ddtrace-graphql's People

Contributors

beezz avatar namanshenoy avatar pyup-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ddtrace-graphql's Issues

Use with Graphene

Is it possible to use this library with Graphene?

I tried using the patch function at my Django entrypoint as suggested in the docs, but the service never appeared. Is this likely to be because I am using Graphene?

My code in my wsgi.py entrypoint file is as follows:

    from ddtrace import tracer, patch_all
    from ddtrace_graphql import patch as patch_graphql

    # Connect the APM to the agent
    try:
        tracer.configure(
            hostname=os.environ['DD_AGENT_HOST']
        )
    except Exception as e:
        print('Failed to register datadog tracing host', e)

    # Activate the APM
    patch_all()

    # Support frameworks
    patch_all(botocore=True, boto=True, kombu=True, celery=True)
    patch_graphql()

Out of date with ddtrace library

When installing any version of ddtrace>=1.0.0, 0.2.0 of this library will fail on load because ddtrace has been updated. Specifically when trying to do from ddtrace.contrib.util import requires_modules, will fail because requires_module was moved in version 1.0.0 of ddtrace. So the line needs to be updated to from ddtrace.contrib import require_modules.

Other import lines to be updated are:
from ddtrace.ext import errors as ddtrace_errors -> from ddtrace.constants import ERROR_MSG, ERROR_STACK, ERROR_TYPE
from ddtrace.util import unwrap -> from ddtrace.internal.utils.wrappers import unwrap
Remove import graphql.backend.core

No data is received on ddtrace 0.55.2

I'm not sure if this library is still maintained, but we just upgraded our ddtrace (that we use for our own tracing) from 0.50.0 -> 0.55.2 and our GraphQL data stopped:
Screenshot 2021-11-03 at 13 10 34

I noticed this library is using an earlier version.

Is it possible to upgrade the version used by this library? Could there be another issue?

Initial Update

Hi ๐Ÿ‘Š

This is my first visit to this fine repo, but it seems you have been working hard to keep all dependencies updated so far.

Once you have closed this issue, I'll create separate pull requests for every update as soon as I find one.

That's it for now!

Happy merging! ๐Ÿค–

Not picking up DD_VERSION environment variable

Hello, thanks for making this library, it's super helpful.

I'm using version 0.2.0, and I have a problem that the graphql APM service is not picking up DD_VERSION environment variable.

Any help will be really appreciated, thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.