Superskyyy commented on issue #8633:
URL: https://github.com/apache/skywalking/issues/8633#issuecomment-1067211838


   Yes depending on how the user is switched to, a `.bashrc` file may or may 
not be executed (non-login shell only). 
   The current code in the Python agent that reads the env var doesn't look 
buggy to me? It's the only place that could generate a uuid for the instances.
   ```
   service_instance = os.getenv('SW_AGENT_INSTANCE') or 
str(uuid.uuid1()).replace('-', '')  # type: str
   ```
   I suppose this is less likely a bug, what you guys think?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to