Git Product home page Git Product logo

databases's Introduction

InfluxDB ve Docker Kurulumu

Not: Aşağıdaki konfigürasyonlar Windows üzerinde çalıştırmak içindir.

Öncelikle Windows için Docker Desktop indirilir. Docker compose, docker engine vs hepsi bu indirmeyle birlikte yüklenmiş olur. Docker Desktop yüklendikten sonra Docker account oluşturulur.

Docker Desktop uygulaması üzerinde Volume, Image ve Container bilgilerinizi görebilirsiniz. Docker Desktop'un yanı sıra Command Prompt üzerinden de ilgili Docker komutları ile istediğiniz eylemleri gerçekleştirebilirsiniz.

Ayrıca çalıştırdığınız Container'larınızın üzerindeki CLI butonu ile kolayca kurduğunuz uygulamanın komut satırı arayüzüne erişebilirsiniz.

docker pull influxdb:latest
docker pull telegraf:latest
docker pull grafana:latest
docker run -d --name=influxdb -p 8086:8086 influxdb
docker run -d --name=grafana -p 3000:3000 grafana

Influx v1.x ile v2.0+ versiyonları arası mapping için gerekli komutlar:

Influx 2.0+ versiyonlarda web arayüzünde account ve bucketlar yaratıldıktan bütün konfigürasyonlar yapıldıktan sonra “influx v1 dbrp” komutu ile database ve retention policy oluşturulur. Bu ayarlar Grafana’ya Influx’I bağlarken InfluxQL seçeneği ile bağlamanızı sağlar ve “SELECT” gibi komutları kullanabilirsiniz.

influx v1 dbrp create --db “database-ismi” --bucket-id “bucket id’si” –rp “retention policy adı” --token  “V2deki Token” --org “organization adı” 

Var olan databaseleri kontrol etmek için:

influx v1 dbrp list --token “V2deki Token” --org “organization adı”

databases's People

Contributors

keshkul avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.