Hello team! Would love some :eyes: from the mainta...
# dev-metaflow
r
Hello team! Would love some 👀 from the maintainers on this one and happy to send a PR if you all agree with the direction and approach. https://github.com/Netflix/metaflow/issues/3228
1
r
Yes, sounds good to me. Will respond in the issue thread as well
r
Perfect! Really appreciate it! We will put up a PR soon
I just put up a PR for this, let us know if it looks good to you! https://github.com/Netflix/metaflow/pull/3231
r
@thankful-ambulance-42457 / @ancient-application-36103 might need you all to take a look as well
🙏 1
r
Thanks for the comment, will update that bit! Let me know if you all have thoughts on the behavioral comment I left
Gentle bump on this one if y’all get a chance! Non-blocker ofc but it would really improve our o11y experience!
r
@thankful-ambulance-42457 / @ancient-application-36103 can you take a look at the approach? I already reviewed the PR, but there's still a question re backwards compatibility
thankyou 1
t
I took a look and posted some thoughts in the PR yesterday, but to reiterate here in summary, I'm not sure if the fallback-feature-flag is necessary in most use cases. Simply offering an env var to configure the service name through, with
metaflow
as the default for backwards compatibility should be enough 1. If a user/org wants to use an already configured
OTEL_SERVICE_NAME
in their environment, then they still need to add a new entry to their Metaflow profile to enable this. The edit could just as well be to change the service name through the config at that point. 2. If the org wants the ability to set/swap service names as part of their infra instead of Metaflow profiles, and they are managing environment variables separately, then this should only require an additional
METAFLOW_OTEL_SERVICE_NAME=$OTEL_SERVICE_NAME
to the runtime environments in order to override the defaults. What would be the scenario where being able to control the service name inheritance through the Metaflow profile is strictly required compared to the alternative of setting the service name directly? The user wanting name inheritance but not knowing the correct name at deploy time? I'm not seeing a huge benefit for the added complexity, so leaning towards only offering
METAFLOW_OTEL_SERVICE_NAME
as an option for simplicity.
👍 2
r
Thanks so much for reviewing it! I will come back to this by lunch.
Ok got a chance to look over this and your reasoning makes sense! I updated my code and the PR description: https://github.com/Netflix/metaflow/pull/3231
t
excellent. Merged now 👌
r
Thanks Sakari. Thanks @red-rainbow-11418 for the contribution
r
thanks all! i love how easy it is to get contributions upstream with y’all
Maybe you all are already tracking this but it looks like this check is failing after my change went in: https://github.com/Netflix/metaflow/actions/runs/27951702364/job/82709911787. I am investigating it right now.
Based on the logs at least, it looks like it’s unrelated but feel free to let me know and I am happy to help!
t
seems like just a flaky test, should be unrelated. I'll rerun that on the latest commit on
master
👍 1
r
Hi! I was wondering when are you all planning to cut the next release? We will plan our telemetry changes accordingly
t
I'll aim to prep a release today. Checking some other PR's still to see if there are some ready ones.
thankyou 1
2.19.35
should be out shortly
thankyou 1