When we use OSS 2, it provided a dashboard which we can build the data chart. For Core 3 alpha version, currently it doesn’t provide same function, will it available on FINAL release build?
Hello @Carmen,
Yes the product team has already prototyped a UI, I’m not sure when it will be released, but soon.
In the meantime please use one of these tools:
Or
First, create a token:
% influxdb3 create token
That will output tokens:
Token: apiv3_RMd9zTDmaCeENJ4SUERaKQh7Bb7VoSpykPEhWP2PkiftW04j4uZJ4GHzdGRfZ_pWBEMT2WIhwGPBgvEsiAJHgQ
Hashed Token: eccf552b10fcefb159655202854dc7834635dc36676e8b5a5a7853774fb96dd1bcedad4e4080e25dc6fb7e0ab547922e003d0d4db38123ea574d8bc9f665b900
Start the server with influxdb3 serve --bearer-token eccf552b10fcefb159655202854dc7834635dc36676e8b5a5a7853774fb96dd1bcedad4e4080e25dc6fb7e0ab547922e003d0d4db38123ea574d8bc9f665b900 --object-store file --data-dir ~/.influxdb3 --node-id YOUR_HOST_NAME
You’ll need to start the database using the hashed token. You query and connect to grafana using the non-hashed token.
In Grafana, when you add a datasource, select InfluxDB → InfluxQL. Then under Headers, add:
Header: Authorization
Value: Bearer [UNHASHED TOKEN]
Note that you have to put the word Bearer, then a space, then the token, for the value. Do not use quotes. Make sure to input the database you’re connecting to as well in the Database field. If you don’t have a database yet, you can create one using the command:
influxdb3 create database [DATABASE NAME] --token [UNHASHED TOKEN]
Hope that helps!