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: ID for internal sources in random and rotate switches #3851

Open
vitoyucepi opened this issue Apr 3, 2024 · 2 comments
Open

Comments

@vitoyucepi
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Random and Rotate switch functions internally create two additional sources without setting their IDs, making it difficult to track what's actually happening in the logs.

2024/04/01 12:03:41 [schedule:3] Switch to monday_afternoon with forgetful transition.
2024/04/01 12:03:41 [monday_afternoon:3] Switch to on_track.2.
2024/04/01 12:03:41 [switch.3:3] Switch to Music_A.

Describe the solution you'd like
I'd like to see what happens inside the Random and Rotate switches.

Describe alternatives you've considered
I don't know, maybe hide intermediate levels altogether.

Additional context
N/A

@toots
Copy link
Member

toots commented Apr 3, 2024

Thanks for pointing that out. I've been annoyed by this for a while too: we need a way to identify sources that are created as part of an operator. I'll see what I can do for 2.3.x.

@rmens
Copy link

rmens commented May 2, 2024

Was working on a small log parser today to get some insights about how much our fallback input is used and noticed that it couldn't be looked up by ID. This would be great to have!

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

No branches or pull requests

3 participants