Тёмный

Getting Started: InfluxDB 3.0 Python Client Library 

InfluxData
Подписаться 8 тыс.
Просмотров 6 тыс.
50% 1

The v3 Python client library provides a useful and programmatic way to write and query data in InfluxDB 3.0. Here, Developer Advocate Jay Clifford demonstrates how to get started using the newest Python client so you can do more with your data.

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@GereHadush
@GereHadush Год назад
Can you use influxdb3-python with older version of InfluxDB?
@influxdata8893
@influxdata8893 Год назад
We have a old version, the python v2 works with our older versions. They are about equal in what they can do, they are just specific to the versions.
@GereHadush
@GereHadush Год назад
@@influxdata8893 Thank you so much
@danishkhajuria
@danishkhajuria 9 месяцев назад
I am getting the following error when I try to read the data from indluxdb using the influxdb_client_3 library. FlightUnavailableError: Flight returned unavailable error, with message: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8086: Ssl handshake failed: SSL_ERROR_SSL: error:0A00010B:SSL routines::wrong version number. gRPC client debug context: UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8086: Ssl handshake failed: SSL_ERROR_SSL: error:0A00010B:SSL routines::wrong version number {created_time:"2023-12-08T15:52:16.849447103+00:00", grpc_status:14}. Client context: IOError: Server never sent a data message. Detail: Internal The code i am running: fh = open(certifi.where(), "r") cert = fh.read() fh.close() client = InfluxDBClient3( token=my_token, host="localhost:8086", org=my_org, database="pokemon-codex", enable_gzip=True, write_client_options=wco, flight_client_options=flight_client_options(tls_root_certs=cert)) query = '''SHOW COLUMNS FROM caught''' table = client.query(query=query, language='sql', mode='pandas') System inflormatin: InfluxDB v2.7.4 OS - Windows 11
@influxdata8893
@influxdata8893 8 месяцев назад
he error message you're seeing, "FlightUnavailableError: Flight returned unavailable error, with message: failed to connect to all addresses; last error: UNKNOWN: ipv4:: Ssl handshake failed: SSL_ERROR_SSL: error:0A00010B:SSL routines::wrong version number", indicates that there's an issue with the SSL handshake between your client and the InfluxDB server. This could be due to an incorrect SSL version being used, or a problem with the SSL certificate. Here are some steps to troubleshoot this issue: 1. Check the SSL version: Ensure that both the client and the server are using the same SSL version. You can usually specify the SSL version in the client configuration. 2. Verify the SSL certificate: The error message suggests that there might be an issue with the SSL certificate. Make sure that the certificate is correctly installed and configured on both the client and the server. Also, ensure that the certificate is not expired. 3. Update the InfluxDB client library: If you're using an older version of the InfluxDB client library, it might not support the SSL version used by the server. Try updating the client library to the latest version. 4. Check the server configuration: Ensure that the InfluxDB server is correctly configured to accept SSL connections. This includes checking the server's SSL configuration and making sure that the server is listening on the correct port. 5. Test the connection: Try to connect to the InfluxDB server using a different client or tool to see if the issue is specific to the Python client you're using. If you need anymore help please come ask us on our slack community!
Далее
Python 3.12 Generic Types Explained
18:27
Просмотров 61 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 356 тыс.
Beginner for Node-RED, InfluxDB & Grafana
36:23
Просмотров 46 тыс.
15 Python Libraries You Should Know About
14:54
Просмотров 386 тыс.
Influx vs Prometheus vs Timescale
20:33
Просмотров 35 тыс.
SQLAlchemy: The BEST SQL Database Library in Python
16:39
DuckDB vs Pandas vs Polars For Python devs
12:05
Просмотров 17 тыс.