Skip to content

Use HttpClient from Dependency Injection #2

@miroljub1995

Description

@miroljub1995

We are using ory client sdk for calling ToSessionAsync, but we do not have any trace of http requests made, or any activity.
We have open telemetry setup with HttpClient from DI, but this client is not using that client from DI and traces are not captured. There is a situation where we have something weird in metrics and we suspect that it is Ory api, but we can not be sure without traces.

This is the trace, where first dependency call is actually ory.ToSessionAsync and we suspect that it failed, but there is no trace.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions