All Projects → ziyasal → Influxdb.net

ziyasal / Influxdb.net

Licence: unlicense
Cross-platform .NET library for InfluxDB distributed time-series database.

Projects that are alternatives of or similar to Influxdb.net

Netdata
Real-time performance monitoring, done right! https://www.netdata.cloud
Stars: ✭ 57,056 (+35784.28%)
Mutual labels:  time-series, influxdb
mongofluxd
Real time sync from MongoDB into InfluxDB
Stars: ✭ 33 (-79.25%)
Mutual labels:  influxdb, time-series
Snmpcollector
A full featured Generic SNMP data collector with Web Administration Interface for InfluxDB
Stars: ✭ 216 (+35.85%)
Mutual labels:  time-series, influxdb
kotori
A flexible data historian based on InfluxDB, Grafana, MQTT and more. Free, open, simple.
Stars: ✭ 73 (-54.09%)
Mutual labels:  influxdb, time-series
Questdb
An open source SQL database designed to process time series data, faster
Stars: ✭ 7,544 (+4644.65%)
Mutual labels:  time-series, influxdb
Influxdb
Scalable datastore for metrics, events, and real-time analytics
Stars: ✭ 22,577 (+14099.37%)
Mutual labels:  time-series, influxdb
influxdb-ha
High-availability and horizontal scalability for InfluxDB
Stars: ✭ 45 (-71.7%)
Mutual labels:  influxdb, time-series
Chronetic
Analyzes chronological patterns present in time-series data and provides human-readable descriptions
Stars: ✭ 23 (-85.53%)
Mutual labels:  influxdb, time-series
luftdatenpumpe
Process live and historical data from luftdaten.info, IRCELINE and OpenAQ. Filter by station-id, sensor-id and sensor-type, apply reverse geocoding, store into timeseries and RDBMS databases, publish to MQTT, output as JSON or visualize in Grafana.
Stars: ✭ 22 (-86.16%)
Mutual labels:  influxdb, time-series
Influxdb Ruby
Ruby client for InfluxDB
Stars: ✭ 352 (+121.38%)
Mutual labels:  time-series, influxdb
Tsbs
Time Series Benchmark Suite, a tool for comparing and evaluating databases for time series data
Stars: ✭ 545 (+242.77%)
Mutual labels:  time-series, influxdb
Pyfts
An open source library for Fuzzy Time Series in Python
Stars: ✭ 154 (-3.14%)
Mutual labels:  time-series
Hurst
Hurst exponent evaluation and R/S-analysis in Python
Stars: ✭ 148 (-6.92%)
Mutual labels:  time-series
Anomaly detection tuto
Anomaly detection tutorial on univariate time series with an auto-encoder
Stars: ✭ 144 (-9.43%)
Mutual labels:  time-series
Tscv
Time Series Cross-Validation -- an extension for scikit-learn
Stars: ✭ 145 (-8.81%)
Mutual labels:  time-series
Pyflux
Open source time series library for Python
Stars: ✭ 1,932 (+1115.09%)
Mutual labels:  time-series
Appmetrics
App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
Stars: ✭ 1,986 (+1149.06%)
Mutual labels:  influxdb
Scipy con 2019
Tutorial Sessions for SciPy Con 2019
Stars: ✭ 142 (-10.69%)
Mutual labels:  time-series
Sweep
Extending broom for time series forecasting
Stars: ✭ 143 (-10.06%)
Mutual labels:  time-series
Influxdata.net
InfluxData TICK stack .net library.
Stars: ✭ 142 (-10.69%)
Mutual labels:  influxdb

InfluxDB.Net

InfluxDB An open-source distributed time series database with no external dependencies. It is the new home for all of your metrics, events, and analytics.

A Portable .NET library to access the REST API of a InfluxDB database.

Installation

Install-Package InfluxDB.Net-Main

.NET Core Installation

dotnet add package InfluxDB.Net.Core --version 1.1.22-beta

Versions of InfluxDB
The currently supported versions of InfluxDB is 0.9 - 1.1. When creating a connection to the database you can specify the version to use, or the auto configuration that starts by determening the version.

List of supported methods

  • Ping
  • Version
  • CreateDatabase
  • DeleteDatabase
  • DescribeDatabases
  • Write
  • Query
  • CreateClusterAdmin(User user);
  • DeleteClusterAdmin(string name);
  • DescribeClusterAdmins();
  • UpdateClusterAdmin(User user, string name);
  • CreateDatabaseUser(string database, User user);
  • DeleteDatabaseUser(string database, string name);
  • DescribeDatabaseUsers(String database);
  • UpdateDatabaseUser(string database, User user, string name);
  • AuthenticateDatabaseUser(string database, string user, string password);
  • GetContinuousQueries(String database);
  • DeleteContinuousQuery(string database, int id);
  • DeleteSeries(string database, string name);
  • ForceRaftCompaction();
  • Interfaces();
  • Sync();
  • ListServers();
  • RemoveServers(int id);
  • CreateShard(Shard shard);
  • GetShards();
  • DropShard(int id, Shard.Member servers);
  • GetShardSpaces();
  • DropShardSpace(string database, string name);
  • CreateShardSpace(string database, ShardSpace shardSpace);

Ping

var _client = new InfluxDb("http://...:8086", "root", "root");
  Pong pong =await _client.PingAsync();

Version

var _client = new InfluxDb("http://...:8086", "root", "root");
  string version =await  _client.VersionAsync();

Create Database

var _client = new InfluxDb("http://...:8086", "root", "root");
 InfluxDbApiCreateResponse response =await  _client.CreateDatabaseAsync("MyDb");
 //Or
 InfluxDbApiCreateResponse response = await _client.CreateDatabaseAsync(new DatabaseConfiguration
            {
                Name = "MyDb"
            });

Delete Database

var _client = new InfluxDb("http://...:8086", "root", "root");
InfluxDbApiDeleteResponse deleteResponse = await _client.DeleteDatabaseAsync("MyDb");

Describe Databases

var _client = new InfluxDb("http://...:8086", "root", "root");
List<Database> databases = await _client.ShowDatabasesAsync();

Write

var _client = new InfluxDb("http://...:8086", "root", "root");
Serie serie = new Serie.Builder("testSeries")
                .Columns("value1", "value2")
                .Values(DateTime.Now.Millisecond, 5)
                .Build();
InfluxDbApiResponse writeResponse =await _client.WriteAsync("MyDb", TimeUnit.Milliseconds, serie);

Query

var _client = new InfluxDb("http://...:8086", "root", "root");
 List<Serie> series = await _client.QueryAsync("MyDb", "select * from testSeries"), TimeUnit.Milliseconds);

Bugs

If you encounter a bug, performance issue, or malfunction, please add an Issue with steps on how to reproduce the problem.

##PowerShell Cmdlet The PowerShell Cmdlet can be tested using the script TestInfluxDb.ps1.

Installation
import-module [PATH]\InfluxDb -force

Open

$db = Open-InfluxDb -Uri:"http://...:8086" -User:"root" -Password:"root"

Ping

$pong = Ping-InfluxDb -Connection:$db

Add
Adds a new database.

Add-InfluxDb -Connection:$db -Name:"SomeDatabase"

Write
Not yet implemented

Write-InfluxDb
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].