Skip to content

More examples (poem) #113

Open
Open
@onx2

Description

@onx2

Would you mind creating an example of how to use this extension with poem?

I'm not very familiar with tracing and apollo studio, it would be helpful to have some more information on how to get a basic example working locally.

When setting up a new graph on apollo studio they give you this screen:
image

How can I get this to auto-detect my schema?

Here's some more info that might be helpful:

Versions from Cargo.toml

async-graphql = { version = "4.0.13", features = ["chrono", "uuid", "dataloader", "apollo_tracing"] }
async-graphql-extension-apollo-tracing = { version = "3.0.1", features = ["tokio-comp", "compression"] }

WIP attempt at creating a new ApolloTracing extension

let apollo_tracing = ApolloTracing::new(
            "service:My-Graph-8sf1w:wmwfq3rgbhMJjHJGz8WuTw".into(),
            "https://localhost:3000".into(),
            "My-Graph-8sf1w@current".into(),
            "v1.0.0".into(),
            10,
        );

How do these expected values map to what apollo studio gives me?
image

Thanks in advance for any help / suggestions you can provide!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions