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
pip install pandas
pip install sdcclient
python main.py <token>
Where token is your Sysdig Monitor token that you can get from the product user interface.