Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to InfluxDB 2.0 (Kubernetes London - February 2019)

David McKay
February 12, 2019

Introduction to InfluxDB 2.0 (Kubernetes London - February 2019)

David McKay

February 12, 2019
Tweet

More Decks by David McKay

Other Decks in Technology

Transcript

  1. Kubernetes London (Feb ‘19) @rawkode
    Introduction to
    InfluxDB 2.0
    Kubernetes London

    View full-size slide

  2. Kubernetes London (Feb ‘19) @rawkode
    David McKay ➔ Containers
    ➔ Kubernetes
    ➔ Rust
    ➔ Elixir
    ➔ CQRS / Event Sourcing
    Developer Advocate @InfluxData

    View full-size slide

  3. Kubernetes London (Feb ‘19) @rawkode

    View full-size slide

  4. Kubernetes London (Feb ‘19) @rawkode
    Demo Prep

    View full-size slide

  5. Kubernetes London (Feb ‘19) @rawkode
    What is InfluxDB?

    View full-size slide

  6. Kubernetes London (Feb ‘19) @rawkode
    What is InfluxDB?
    The Modern Engine for Metrics & Events

    View full-size slide

  7. Kubernetes London (Feb ‘19) @rawkode
    Metrics
    ➔ Load=48
    ➔ Memory Usage=62%
    ➔ Request Latency=124µs
    ➔ Unscheduled Pods=37
    ➔ …

    View full-size slide

  8. Kubernetes London (Feb ‘19) @rawkode
    Events
    ➔ Kafka compaction started
    ➔ VM died in eu-west1
    ➔ Developer deploys million-dollar-app=v1.2.3

    View full-size slide

  9. Kubernetes London (Feb ‘19) @rawkode
    Metrics & Events
    Kafka compaction started
    VM died in eu-west1
    Developer deploys
    million-dollar-app=v1.2.3
    Load=48
    Memory Usage=62%
    Request Latency=124µs
    Unscheduled Pods=37

    View full-size slide

  10. Kubernetes London (Feb ‘19) @rawkode
    What is InfluxDB?
    InfluxData provides the leading time series platform to instrument, observe, learn and automate any system,
    application and business process across a variety of use cases.

    View full-size slide

  11. Kubernetes London (Feb ‘19) @rawkode
    TICK Stack

    View full-size slide

  12. Kubernetes London (Feb ‘19) @rawkode
    Telegraf
    Collector
    Tiger

    View full-size slide

  13. Kubernetes London (Feb ‘19) @rawkode
    InfluxDB
    Time Series Database
    I'iwi

    View full-size slide

  14. Kubernetes London (Feb ‘19) @rawkode
    Chronograf
    Dashboarding
    Giraffe

    View full-size slide

  15. Kubernetes London (Feb ‘19) @rawkode
    Chronograf

    View full-size slide

  16. Kubernetes London (Feb ‘19) @rawkode
    Metrics & Events

    View full-size slide

  17. Kubernetes London (Feb ‘19) @rawkode
    Kapacitor
    Automation
    Koala

    View full-size slide

  18. Kubernetes London (Feb ‘19) @rawkode
    Well, that was 1.x …

    View full-size slide

  19. Kubernetes London (Feb ‘19) @rawkode
    InfluxDB 2.0

    View full-size slide

  20. Kubernetes London (Feb ‘19) @rawkode
    InfluxDB 2.0
    Single Binary

    View full-size slide

  21. Kubernetes London (Feb ‘19) @rawkode
    InfluxDB 2.0
    Single Binary
    ➔ Multi Tenant
    ➔ Single Consistent Documented API
    ➔ Official Client Libraries
    ◆ Ruby
    ◆ PHP
    ◆ Go
    ◆ JS
    ◆ Python
    ◆ Kotlin
    ◆ Java
    ◆ dotNet
    ➔ Understands Docker
    ➔ Understands Kubernetes
    ➔ Powered by Kubernetes

    View full-size slide

  22. Kubernetes London (Feb ‘19) @rawkode
    Flux

    View full-size slide

  23. Kubernetes London (Feb ‘19) @rawkode
    Flux
    Data Scripting Language
    // CPU Usage
    from(bucket:"telegraf/autogen")
    |> range(start:-1h)
    |> filter(fn:(r) =>
    r._measurement == "cpu" and
    r.cpu == "cpu-total"
    )
    |> aggregateWindow(every: 1m, fn: mean)

    View full-size slide

  24. Kubernetes London (Feb ‘19) @rawkode
    Flux
    Data Scripting Language
    ➔ Available Now!
    ◆ >= 1.7
    ◆ 2.0 (Alpha)
    ➔ Transpiler from/to InfluxQL
    ➔ Works with Chronograf & Grafana

    View full-size slide

  25. Kubernetes London (Feb ‘19) @rawkode
    ★ fromPrometheus()
    ★ fromKafka()
    ★ fromS3()
    Flux
    Data Scripting Language

    View full-size slide

  26. Kubernetes London (Feb ‘19) @rawkode
    Demo

    View full-size slide

  27. Kubernetes London (Feb ‘19) @rawkode
    Questions?

    View full-size slide