More Related Content Similar to Meet the Experts: InfluxDB Product Update (20) More from InfluxData (20) Meet the Experts: InfluxDB Product Update2. © 2020 InfluxData. All rights reserved.2
InfluxDB OSS 2.0 is now Generally Available
As announced at InfluxDays in June:
• We completed our extended alpha/beta program and
released on Nov 10th.
We’ve just released our 2nd maintenance release
• Expanded package support including ARM64
• Minor defect fixes
4. © 2020 InfluxData. All rights reserved.4 © 2020 InfluxData. All rights reserved.4
Platform providing real-time visibility into
stacks, sensors and systems
Visualizatio
n
Alert
s
Triggers
Metric
s
Log
s
Traces
Event
s
6. © 2020 InfluxData. All rights reserved.6
CommonAPI
InfluxDB 2.0 Offerings
InfluxDB 2.0 (open source)
InfluxDB Cloud 2.0 (AWS, GCS, Azure)
InfluxDB Enterprise 2.0 (on-premise/own compute)
Pay Per Use
Reserved
Capacity
Dedicated
Instance
Node Based Cloud Native
Free Tier
Single Binary
Pay Per
Use
Pre-Pay
Dedicated
Instance
Node
Based
Cloud
Native
TelegrafClientLibraries
(10languages)
7. “InfluxDB 2.0
represents the
biggest evolution
of our product.”
✔ Single binary for all time series
functions
✔ Common API across all editions of
the platform
✔ Deeper insights with new powerful
data processing language Flux
✔ Framework for composable
solutions
8. Flux
POWERFUL DATA ANALYTICS
LANGUAGE TO SEE ACROSS TIME
✔ Designed for time series analysis
✔ Easy to share, easy to extend
✔ Multi data source
✔ Open Source (MIT license)
✔ Easy to get started but powerful to scale
from(bucket:“telegraf”)
|> range(start:-1h)
|> filter(fn: (r) => r._measurement == “foo”)
|> exponentialMovingAverage(size:-10s)
9. © 2020 InfluxData. All rights reserved.9
New InfluxDB 2.0 setup and walkthrough
• User Docker image
• Explore the UI
• Get data in!
• Create a new bucket and a task
Agenda
10. © 2020 InfluxData. All rights reserved.10
InfluxDB 1.x OSS Upgrade to InfluxDB 2.x OSS
• Walkthrough of upgrade process
• Review Log Output
• Confirm DBRP Mapping via CLI
• Discuss Security Setup and CLI Tooling
• Create an Alert
• Leverage InfluxDB Templates
• Variables and Advanced Flux
Agenda
12. © 2020 InfluxData. All rights reserved.12 © 2020 InfluxData. All rights reserved.12
InfluxDB 1.8.3
Chronograf 1.8.9
Telegraf 1.16.3
Input: System Bundle
- CPU
- Disk
- DiskIO
- Mem
- Net
- Processes
- Swap
- System
Output: InfluxDB v1
tim_admin -- admin
tim_testing -- read/write
nate_haugo -- read
telegraf_agent -- write
10 databases including
_internal and
Telegraf with 2 RPs
1 Continuous Query for
Downsampling CPU
metrics
Selective user permissions:
> show grants for nate_haugo
database privilege
-------- ---------
telegraf READ
potato READ
chronograf ALL PRIVILEGES
potatoctl READ
Connected using; nate_haugo
14. © 2020 InfluxData. All rights reserved.14
Upgrade
Download/install InfluxDB 2.x
Stop influxd
Run upgrade command via 2.x influxd binary
Start 2.x influxd
Additional helper script for DEB/RPM packages
No upgrade for Docker --- yet.
15. © 2020 InfluxData. All rights reserved.15
Troubleshooting
Upgrade already run:
Error: file present at target path for upgraded 2.x config file
'/Users/tim/.influxdb/config.toml'
Log output: upgrade.log & continuous_queries.txt
• both located in the user’s home directory
• upgrade - contains all of the stdout log information generated
during the upgrade process
• cq - contains a dump of the continuous queries found
Too many files open -- adjust ulimit
17. © 2020 InfluxData. All rights reserved.17 © 2020 InfluxData. All rights reserved.17
InfluxDB 2.0.x
Chronograf 1.8.9
Telegraf 1.16.3
Input: System Bundle
- CPU
- Disk
- DiskIO
- Mem
- Net
- Processes
- Swap
- System
Output: InfluxDB v1
v1 auth setup for:
● tim_admin -- admin
● tim_testing -- read/write
● nate_haugo -- read
● telegraf_agent -- write
v2 user: thall -- admin
v2 org: thall-org
10 buckets with DBRP
mappings for v1
_internal not upgraded
1 new bucket: default
no DBRP mapping
1 Continuous Query for
Downsampling CPU
metrics
Admin functions do not work:
Databases, Users, Queries
19. © 2020 InfluxData. All rights reserved.19
InfluxDB v2.0 CLI
Now includes support for managing v1 related “stuff”
• DBRP mappings
• Auth
Grab your new token, setup a config profile...and explore!
21. © 2020 InfluxData. All rights reserved.21 © 2020 InfluxData. All rights reserved.21
Community Forum
This is our community forum, a place for
people & users to come to for support,
share ideas, and ask questions.
community.influxdata.com
22. © 2020 InfluxData. All rights reserved.22 © 2020 InfluxData. All rights reserved.22
InfluxDB Slack
We have a Slack Workspace for our
community.
Influxers and community members talk
about all things InfluxDB (TICK stack, 2.0,
Cloud, meetups, etc).
It’s a great place for us to get to know and
work with our users.
influxdata.com/slack
24. © 2020 InfluxData. All rights reserved.24
Chronograf and Kapacitor Specific Docs for 2.0
https://docs.influxdata.com/influxdb/v2.0/tools/kapacitor/https://docs.influxdata.com/influxdb/v2.0/tools/chronograf/