Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/vendor/github.com/aws/aws-lambda-go/events/README_CodeCommit.md

347 B

Sample Function

The following is a sample Lambda function that receives Amazon CodeCommit event records input and prints them to os.Stdout.)

import (
    "fmt"
    "github.com/aws/aws-lambda-go/events"
)

func handleRequest(evt events.CodeCommitEvent) {
    for _, record := range evt.Records {
        fmt.Println(record)
    }
}