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

Configure Pythia to select LLM traces only from Jaeger #4

Open
cloudronin opened this issue Sep 19, 2024 · 1 comment
Open

Configure Pythia to select LLM traces only from Jaeger #4

cloudronin opened this issue Sep 19, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cloudronin
Copy link
Member

Right there is no way in Pythia to have it process only 'select' traces in Jaeger.
In a production Jaeger environment , there will be traces that are not LLM traces and Pythia should not try and process those.

We need a configuration in Pythia that allows Pythia to be selective about the Jaeger traces it needs to process.

Maybe we can modify the client sdk to add in an attribute that makes it easier for the backend pythia docker to select the LLM traces only.

@cloudronin cloudronin added the enhancement New feature or request label Sep 19, 2024
@cloudronin cloudronin added this to the v0.1 milestone Sep 19, 2024
@pratacosmin
Copy link
Collaborator

pratacosmin commented Sep 26, 2024

Custum service Name - LLM traces from wrapper (OpenLit)

If you want to change where and from were pythia writes and reads traces you can set the JAEGER_SERVICE_NAME in the .env file and also set the service_name for the Pythia traces to your value. The default value is default.

JAEGER_SERVICE_NAME=default
## Pythia Trace Collector with custom service name
traces = PythiaTraces(endpoint="http://localhost:4318", service_name="default")
traces.init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants