module ElasticAPM::Util

def self.git_sha

def self.git_sha
  sha = `git rev-parse --verify HEAD 2>&1`.chomp
  $?&.success? ? sha : nil
end