Skip to content

Use HttpClient from Dependency Injection #2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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