github.com/epsagon/epsagon-go@v1.39.0/example/exp_example/serverless.yml (about)

     1  service: example-go-app-exp
     2  
     3  provider:
     4    name: aws
     5    runtime: go1.x
     6    region: eu-west-1
     7    environment:
     8      EPSAGON_TOKEN: ${env:EPSAGON_TOKEN}
     9      EPSAGON_COLLECTOR_URL: ${env:EPSAGON_COLLECTOR_URL}
    10  
    11  functions:
    12    write:
    13      handler: main
    14      events:
    15      - http:
    16          path: exp
    17          method: post