Databases
Managed InfluxDB on your own cluster
Time-series for metrics, sensor readings and events, queried with Flux or InfluxQL and expired by bucket retention.
Created inside a project, beside the apps that use it. Each project gets its own instance, storage and credentials.
A recent addition. It installs today, and the console marks it as new until it has run on a customer's cluster.
01What it does
InfluxDB, run for you
InfluxDB 2 on the vendor's chart.
The time-series database Telegraf and Grafana speak natively. It writes millions of points, answers Flux and InfluxQL queries over them, and expires old data by bucket retention rather than by a job you write.
Every distinct series is indexed in memory, so the size is what decides how many tags and measurements the database stays comfortable with. The default bucket's retention is applied once, when the database is first set up; the HTTP API can be published on a hostname for the tools that need it.
02Options
What you choose
What the console asks when you create it, in the catalog's own numbers. Anything marked chosen once cannot change without creating a new instance.
- Sizes
- small 1Gi, medium 2Gi, large 4Gi of memory
- Storage
- 10Gi by default, chosen once
- Retention
- Forever (default), or 7, 30, 90 or 365 days on the default bucket; chosen once
- Hostname
- The HTTP API (8086) can be published on a domain
- Pause
- No; pause the project instead
03Binding
What your app receives
Bind it to an app and these arrive as environment variables. The values are generated once into a secret and reach the app from there, rather than as something you copy.
- INFLUX_HOST
- INFLUX_PORT
- INFLUX_URL
- INFLUX_TOKEN
- INFLUX_ORG
- INFLUX_BUCKET
- INFLUX_USERNAME
- INFLUX_PASSWORD
04Adding it
Add InfluxDB to a project
The same four steps as every service in the catalog.
- 01Open a project and go to Services.
- 02Pick it from the catalog and choose its options. Only the size is required; everything else has a default.
- 03Create it. Anyport installs it into the project's namespace, generates its credentials into a secret there, and tracks its health.
- 04Bind it to an app. The connection details arrive as environment variables, and rotating the credential never means editing an app.