Skip to content

Example monitoring setup for functions as a service

Notifications You must be signed in to change notification settings

last9/faas-monitoring

Repository files navigation

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

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:

    git clone https://github.com/last9/faas-monitoring
    cd faas-monitoring
  2. Add your Levitate remote write URL here

  3. Run the Docker Compose setup:

    docker-compose up -d  
  4. Visit your grafana dashboard to view your metrics Function as a service Monitoring