The Wayback Machine - http://web.archive.org/web/20210711100245/https://github.com/TykTechnologies/tyk/issues/3379
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opentracing : traces without all middleware steps #3379

Open

educroquet opened this issue Nov 4, 2020 · 1 comment
Open

Opentracing : traces without all middleware steps #3379

educroquet opened this issue Nov 4, 2020 · 1 comment

Comments

@educroquet
Copy link

@educroquet educroquet commented Nov 4, 2020

On contexts with many APIs and APIs calling other APIs in chains, having too many spans in the zipkin/jaeger dashboards may lead to a too complex usage of such dashboards and of not necessary big data volumes.

For Tyk's admin team, the steps representing the time spent in each Tyk middleware are much valuable.

But the upstream APIs teams just want to know the global time spent in Tyk internals and the time spent in the Authentication step when calling an Authentication server. The details of Tyk internals is not relevant for this population.

Solution : Find some way to be able to both keep the detailled spans of Tyk middlewares for Tyk's admin team when needing for its internal tracing dashboard, while allowing to get a trace with less spans for the tracing dashboard used by upstream API teams.

It may be the trigger of two distincts traces sent to two distincts trace repositories.

It may be a way to filter out some spans in the zipkin/jaeger dashboard.

Alternative : be able to configure the middlewares that we want to appear in the trace, globally for an organization, or per API Definition.

@gernest
Copy link
Member

@gernest gernest commented Nov 18, 2020

Thanks for opening this, we are tracking this internally. Will update this ticket if anything comes up.

I think global/per api option to enable/disable trace and also ability to choose which middlewares to record will be address this properly without adding extra complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants