Skip to content

a small python script that downloads timelines from sysdig monitor into a pandas dataframe

License

Notifications You must be signed in to change notification settings

ldegio/sdc-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdc-fetcher

A small python script to download timelines from Sysdig Monitor into a pandas dataframe. The repository includes a class called Fetcher that can be independently used as data fetcher for statistical and analytics apps based on the Sysdig Monitor Data. The Fetcher class takes care of:

  • aligning the request start and end time for best performance
  • splitting requests that generare more than 1000 timelines into chunks
  • segmenting long requests into smaller time intervals with a number of samples digestable by the Sysdig Monitor backend
  • reassembling the results into a single pandas dataframe

Installation

pip install pandas
pip install sdcclient

Usage

python main.py <token>

Where token is your Sysdig Monitor token that you can get from the product user interface.

About

a small python script that downloads timelines from sysdig monitor into a pandas dataframe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages