Repository navigation
Add an "I use Langfuse" route to the onboarding skill - #37
Merged
Merged
Conversation
Applications that already trace with Langfuse can reach MeterGraph without new instrumentation. The onboarding skill now links a reference that asks where Langfuse runs, which Cloud region it is in and whether the person wants history or live capture, then picks one of three paths: the hosted Langfuse connector (default), metergraphrelay 0.8.0 for a Langfuse on a private network, or dual export (the Python SDK exporter from 0.6.24, or a second OTLP exporter on the Langfuse JS tracer provider). It covers the import filters, content defaults, what a first imported call should look like, and recovery for wrong-region keys, empty selections and double counting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 27b47cfbd1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The standard OTLP exporter sends every span attribute, including Langfuse's input and output, so a resource attribute read by MeterGraph on arrival cannot keep prompts and responses in the application. The Langfuse route now asks the workspace owner first, points to an exporter wrapper that drops the content attributes and span events before sending, and says the resource attribute only stops MeterGraph from storing content it has received. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Applications that already trace with Langfuse can reach MeterGraph without new instrumentation, but the onboarding skill had no route for them. This adds one.
metergraph-onboardingnow linksreferences/langfuse.md, which:metergraph[otel]>=0.6.24) on Langfuse's tracer provider, or a secondOTLPTraceExporteron the same provider asLangfuseSpanProcessorfor Langfuse JS 4 to 6.https://us.cloud.langfuse.com), the import filters (environment, trace names, tags), content defaults, and never asking for keys in chat.langfuse.*metadata pairs) and a recovery table: wrong-region keys, empty selections, legacy self-hosted versions, JS spans missing attributes, double counting.The skill description mentions Langfuse so agents find the route.
plugin/is regenerated.Testing
node scripts/validate.mjs: 12 skills valid.python3 scripts/check_publication.py origin/main: no internal references.python3 scripts/build_plugin.py: plugin regenerated and committed.The public docs pages this links to (
/docs/import/langfuse/,/docs/instrument/otlp/#langfuse) are being updated to match in the docs site; until that deploys, the region and filter wording on those pages may be older than this skill.🤖 Generated with Claude Code