openllmetry-js icon indicating copy to clipboard operation
openllmetry-js copied to clipboard

search by metadata

Open yardenst opened this issue 8 months ago • 5 comments

Hey

I'm sending metadata with my trace

And later I would like to search by it

aiRes = await generateObject({ model: this.client.getClient(model || "anthropic.claude-3-5-haiku-20241022-v1:0"), schema: ActionSuggestions, seed: 8, maxRetries: 1, system: youAreHostModelInstructions, prompt: input, experimental_telemetry: { isEnabled: true, metadata: { checkId, suggestionGroupId }, }, });

Image

Allow search here:

Image

yardenst avatar May 26 '25 12:05 yardenst

@galkleinman Make it happen please

yardenst avatar May 26 '25 12:05 yardenst

Thanks for sharing this one @yardenst.

As of now, you should be able to look for these values using the search, if it doesn't work, that's an issue so lmk. In couple of weeks tho we'll be deploying a new filtering component for the traces/spans where you'll be able to filter by these values in a much easier manner.

galkleinman avatar May 26 '25 13:05 galkleinman

Image

Image

Thanks for the prompt reply @galkleinman but it does not seem to work I'm sure it is me and not you, so what am I doing wrong?

yardenst avatar May 26 '25 13:05 yardenst

Hey @yardenst ! It looks like the issue is on our side. I'm looking into it now and will update you shortly.

avivhalfon avatar May 26 '25 14:05 avivhalfon

We should also consider outputting this metadata as association properties to align our SDK

nirga avatar May 26 '25 17:05 nirga