Skip to main content

Time series clustering for netdata.

Project description

netdata_ts_clustering

Time series clustering for Netdata hosts.

...

Install

pip install netdata_ts_clustering

Quickstart

model = Clusterer(['london.my-netdata.io'], charts=['system.load'], after=-60, before=0)
model.get_data()
model.df.head()
<style scoped> .dataframe tbody tr th:only-of-type { vertical-align: middle; }
.dataframe tbody tr th {
    vertical-align: top;
}

.dataframe thead th {
    text-align: right;
}
</style>
system.cpu|guest system.cpu|guest_nice system.cpu|iowait system.cpu|irq system.cpu|nice system.cpu|softirq system.cpu|steal system.cpu|system system.cpu|user
time_idx
1607871202 0.0 0.0 0.0 0.0 0.0 0.000000 2.750000 0.750000 0.750000
1607871203 0.0 0.0 0.0 0.0 0.0 0.247525 1.980198 0.990099 0.742574
1607871204 0.0 0.0 0.0 0.0 0.0 0.000000 0.253165 1.012658 0.759494
1607871205 0.0 0.0 0.0 0.0 0.0 0.000000 0.744417 0.992556 0.992556
1607871206 0.0 0.0 0.0 0.0 0.0 0.248139 2.481390 0.496278 0.744417

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netdata_ts_clustering-0.0.9.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

netdata_ts_clustering-0.0.9-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page