https://github.com/codeboten/serverless-test-app
This is a minimal serverless Python application to test sending a trace over OTLP to the Collector layer
https://github.com/codeboten/serverless-test-app
Last synced: 4 days ago
JSON representation
This is a minimal serverless Python application to test sending a trace over OTLP to the Collector layer
- Host: GitHub
- URL: https://github.com/codeboten/serverless-test-app
- Owner: codeboten
- License: apache-2.0
- Created: 2023-05-04T21:47:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-02T17:00:45.000Z (about 2 years ago)
- Last Synced: 2025-05-21T03:11:29.305Z (about 2 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Serverless app to test Collector layer
This is a minimal serverless Python application to test sending a trace over OTLP to the Collector layer.
## Requirements
* [Serverless CLI](https://www.serverless.com/framework/docs/install-standalone)
* AWS credentials
* Destination for OTLP data (I used Lightstep)## Setup
1. Install serverless-python-requirements plugin
```bash
serverless plugin install -n serverless-python-requirements
```2. Update config.yaml to configure your OTLP destination
3. Deploy and invoke the application:
```bash
serverless deploy
# call the deployed method
serverles invoke --function hello
```