Skip to content
feelobotPublic

About

Kapacitor UDF's to Analyze Service Costs in Kubernetes

Topics

Resources

Stars

6 stars

Watchers

4 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

kullect

Kapacitor UDF's to Analyze Service Costs in Kubernetes

Slides: https://docs.google.com/presentation/d/16oHN1AunL4PGUfRJOcn9DmTn2RP8kI65CMZXsEAoPNA/edit?usp=sharing

Setup

  1. Download binary from releases

  2. Add to Kapacitor Config File

[udf]
  [udf.functions]
  [udf.functions.kullect]
          prog = "path/to/kullect/binary"
          args = []
          timeout = "10s"
  1. Add the tick file included here
  • Change the values for total_cpu, hourly_cost, and total_memory
  1. Define and enable the tick file
kapacitor define kullector \
  -tick kullect.tick \
  -type stream \
  -dbrp k8s.default 
kapacitor enable kullector
  1. Validate the tick is working
kapacitor show kullector

About

Kapacitor UDF's to Analyze Service Costs in Kubernetes

Topics

Resources

Stars

6 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages