Skip to content

GraphOS reporting #8762

@orianapavel08

Description

@orianapavel08

Describe the bug

https://www.apollographql.com/docs/graphos/routing/graphos-reporting#send_headers explicitly states that I can include in the response_headers:

 # Include HTTP request and response headers in traces sent to GraphOS Studio
    send_headers: # other possible values are all, only (with an array), except (with an array), none (by default)
      except: # Send all headers except referer
        - referer

But the repo documentation states that send_headers can be used only for the request headers, https://github.com/apollographql/router/blame/2450faa8014801ddce09ce9ee63b6c568c7427ed/docs/source/routing/observability/graphos/graphos-reporting.mdx#L146 and in some sections from the GraphOS reporting it's stated that I can only send request headers

I tried to include the response headers in the graphos reporting but I am not able to see them in the Trace details sections

My question is it possible or not to have the response_headers included in the GraphOS reporting?

To Reproduce

Steps to reproduce the behavior:

  1. send_headers to include a response header
  2. check to see if the header is included in the trace details

Expected behavior

Expected behaviour is to be able to see the response header

Output

If applicable, add output to help explain your problem.

Router version 2.2

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions