User Tools

Site Tools


informatica:linux:grafana

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
informatica:linux:grafana [2023/09/13 15:01] joseinformatica:linux:grafana [2026/02/06 10:55] (current) jose
Line 105: Line 105:
 # mask the Grafana version number for unauthenticated users # mask the Grafana version number for unauthenticated users
 ;hide_version = false ;hide_version = false
 +</code>
 +
 +===== Grafana en casa =====
 +<code>
 +> ruth@docker:/dades/web/covid.numerologos.es$ docker exec -it influxdb_covid influx -username admin -password gr4f4n4
 +Connected to http://localhost:8086 version 1.8.3
 +InfluxDB shell version: 1.8.3
 +> show databases
 +name: databases
 +name
 +----
 +grafanaFlux
 +_internal
 +covid
 +invernaderocurl
 +invernadero
 +borra
 +eko
 +casa
 +</code>
 +
 +===== Influx 2.0 =====
 +A partir de influx 2.0 cambia la forma de almacenar los datos.
 +
 +Entra en la web de influxdb
 +
 +
 +
 +
 +
 +
 +<code>
 +curl -X POST http://172.17.0.1:8005/api/v2/buckets \
 +  -H "Authorization: Token TU_TOKEN_AQUI" \
 +  -H "Content-Type: application/json" \
 +  -d '{
 +    "name": "embalses",
 +    "orgID": "TU_ID_DE_ORGANIZACION",
 +    "retentionRules": []
 +  }'
 </code> </code>
  
  
informatica/linux/grafana.1694617311.txt.gz · Last modified: by jose