jouni-kantola / mocha-stackdriver-reporter

Mocha reporter using the Google Cloud logging API
MIT License
0 stars 1 forks source link

Provide resource details and labels #1

Closed jouni-kantola closed 4 years ago

jouni-kantola commented 4 years ago

Extend report options with capability to set resource labels for logs. Example:

resource: {
 labels: {
   function_name: "my-cloud-function"    
   project_id: "[PROJECT_ID]"    
   region: "[REGION]"
  }
  type: "cloud_function"   
}