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

[feature request] support LlamaIndex instrumentation tags #1005

Open
mikeldking opened this issue Sep 6, 2024 · 0 comments
Open

[feature request] support LlamaIndex instrumentation tags #1005

mikeldking opened this issue Sep 6, 2024 · 0 comments
Labels
enhancement New feature or request instrumentation: llama-index Related to llama-index instrumentation module

Comments

@mikeldking
Copy link
Contributor

LlamaIndex released an update to instrumentation

Basically, users can add arbitrary tags to their spans/events
from llama_index.core.instrumentation.dispatcher import instrument_tags

with instrument_tags({"user_id": 1234}):
agent.chat("Hello!")
Any events/spans emitted under the with block will have a .tags attribute with the provided tags attached

Instrumentation should parse this part of the span and attach it as metadata's

@mikeldking mikeldking added enhancement New feature or request triage Issues that require triage labels Sep 6, 2024
@dosubot dosubot bot added the instrumentation: llama-index Related to llama-index instrumentation module label Sep 6, 2024
@mikeldking mikeldking removed the triage Issues that require triage label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request instrumentation: llama-index Related to llama-index instrumentation module
Projects
Status: 📘 Todo
Development

No branches or pull requests

1 participant