Skip to content

feat(traces): Add backend traces#8609

Merged
mudler merged 1 commit intomudler:masterfrom
richiejp:feat/trace-backends
Feb 20, 2026
Merged

feat(traces): Add backend traces#8609
mudler merged 1 commit intomudler:masterfrom
richiejp:feat/trace-backends

Conversation

@richiejp
Copy link
Collaborator

@richiejp richiejp commented Feb 20, 2026

Description

This takes a different approach to tracing. Instead of instrumenting the user facing API, we instrument the backend helper functions so we can see what data is being submitted to the backend itself.

This is better for debugging issues with the backend, such as tokenizer template issues and means all the APIs which use the helper functions are covered.

I decided not to instrument gRPC because we loose some information that is available in the helpers. Eventually we can join the API tracing with the backend tracing so that they are linked.

image image

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Richard Palethorpe <io@richiejp.com>
@netlify
Copy link

netlify bot commented Feb 20, 2026

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 883df97
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/69988faa1ac2d30007549d29
😎 Deploy Preview https://deploy-preview-8609--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Owner

@mudler mudler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great! gonna be very useful when debugging backends

@mudler mudler merged commit 51eec4e into mudler:master Feb 20, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants