Skip to content

Kapacitor UDF's to Analyze Service Costs in Kubernetes

Notifications You must be signed in to change notification settings

feelobot/kullect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

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

Watchers

Forks

Packages

No packages published

Languages