Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/last9/faas-monitoring
Example monitoring setup for functions as a service
https://github.com/last9/faas-monitoring
faas levitate monitoring prometheus pushgateway
Last synced: about 14 hours ago
JSON representation
Example monitoring setup for functions as a service
- Host: GitHub
- URL: https://github.com/last9/faas-monitoring
- Owner: last9
- Created: 2023-11-01T12:20:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-01T12:50:28.000Z (about 1 year ago)
- Last Synced: 2024-11-09T00:52:59.434Z (about 2 months ago)
- Topics: faas, levitate, monitoring, prometheus, pushgateway
- Language: Python
- Homepage:
- Size: 1.12 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# FaaS Monitoring
This repository contains a Python function as a service. This includes a Docker Compose setup for running the program and pushing metrics to a Prometheus Pushgateway. The Docker Compose also includes a vmagent that scrapes the Pushgateway and remote writes to any prometheus compatible TSDB.
## Table of Contents
- [Prerequisites](#prerequisites)
- [Getting Started](#getting-started)
- [Usage](#usage)## Prerequisites
Before you begin, ensure you have met the following requirements:
- Docker: You should have Docker installed to run the Python program within a container.
- Docker Compose: Make sure Docker Compose is installed for orchestrating the services.## Usage
1. Clone this repository to your local machine:
```bash
git clone https://github.com/last9/faas-monitoring
cd faas-monitoring
```
2. Add your [Levitate](https://last9.io/levitate-tsdb/) remote write URL [here](https://github.com/last9/faas-monitoring/blob/c7d7ffb43bb19aeb90a0490136176bd1849439ed/docker-compose.yaml#L40)
3. Run the Docker Compose setup:
```bash
docker-compose up -d
```
4. Visit your grafana dashboard to view your metrics
![Function as a service Monitoring](./assets/img/explore.png "FaaS Monitoring")