eogrow.utils.logging

Utilities used for logging

eogrow.utils.logging.get_instance_info()[source]

Provides information about a compute instance on which this code is being executed

For now this method is designed only to collect info about AWS instances. For more info check: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-documents.html

Returns:

A dictionary with information

Return type:

dict