class SemanticLogger::Formatters::Loki

def build_stream

def build_stream
  self.stream = {stream: {pid: pid}, values: [[]]}
  application
  environment
  host
  level
  thread
  tags
  named_tags
  context
  time
  message
  payload
  metric
  duration
  exception
  stream[:values][0] << payload_value
  stream
end