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

feat(spans): Infer span.op if not defined #4056

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Sep 20, 2024

Add global option that allows inferring the span op, with rules like this:

{
    "span_op_defaults": {
       "rules": [{
            "condition": {
                "op": "not",
                "inner": {
                    "op": "eq",
                    "name": "span.data.messaging\\.system",
                    "value": null,
                },
            },
            "value": "message"
        }]
    }
}

ref: #3637

@jjbayer jjbayer marked this pull request as ready for review September 20, 2024 13:31
@jjbayer jjbayer requested a review from a team as a code owner September 20, 2024 13:31
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