Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 25 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-02T17:00:45.000Z (over 1 year ago)
- Last Synced: 2024-11-07T19:49:36.442Z (3 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
```