influxdb
influxdb copied to clipboard
Disable telemetry during CI test runs
Sending telemetry should be disabled in CI.
@dgnorton is there any CI configuration other than the Rust integration tests that I updated in https://github.com/influxdata/influxdb/pull/25849? If not, then I think this issue can be considered done.
- It seems that influxdb 3 core has no documentation similar to https://www.influxdata.com/telemetry/ ? Currently https://www.influxdata.com/telemetry/ only mentions influxdb 2. I observed influxdb 3 core accessing https://telemetry.v3.influxdata.com/ in the unit test of https://github.com/influxdata/influxdb/issues/25983 .
2025-02-12T05:40:25.920836Z DEBUG influxdb3::commands::serve: Initializing TelemetryStore with upload enabled for https://telemetry.v3.influxdata.com.
2025-02-12T05:40:25.920840Z DEBUG influxdb3_telemetry::store: Initializing telemetry store instance_id="f034f337-6453-468c-9bc9-452514c845d9" os="linux" influx_version="influxdb3-0.1.0" storage_type="memory" cores=16
2025-02-12T05:40:25.922201Z DEBUG influxdb3_write::write_buffer: checking buffer size and snapshotting current_buffer_size_bytes=0 memory_threshold_bytes=11441882726
2025-02-12T05:40:25.938920Z DEBUG influxdb3_telemetry::store: Snapshot write size in bytes min=0 max=0 avg=0
2025-02-12T05:40:25.942608Z DEBUG influxdb3_telemetry::sender: trying to send data to telemetry server telemetry=TelemetryPayload { os: "linux", version: "influxdb3-0.1.0", storage_type: "memory", instance_id: "f034f337-6453-468c-9bc9-452514c845d9", cores: 16, product_type: "Core", uptime_secs: 0, cpu_utilization_percent_min_1m: 0.0, cpu_utilization_percent_max_1m: 0.0, cpu_utilization_percent_avg_1m: 0.0, memory_used_mb_min_1m: 0, memory_used_mb_max_1m: 0, memory_used_mb_avg_1m: 0, write_requests_min_1m: 0, write_requests_max_1m: 0, write_requests_avg_1m: 0, write_requests_sum_1h: 0, write_lines_min_1m: 0, write_lines_max_1m: 0, write_lines_avg_1m: 0, write_lines_sum_1h: 0, write_mb_min_1m: 0, write_mb_max_1m: 0, write_mb_avg_1m: 0, write_mb_sum_1h: 0, query_requests_min_1m: 0, query_requests_max_1m: 0, query_requests_avg_1m: 0, query_requests_sum_1h: 0, parquet_file_count: 0, parquet_file_size_mb: 0.0, parquet_row_count: 0 }
2025-02-12T05:40:25.951323Z DEBUG reqwest::connect: starting new connection: https://telemetry.v3.influxdata.com/
2025-02-12T05:40:25.960828Z DEBUG influxdb3_telemetry::sampler: trying to sample data for cpu/memory cpu_used=0.0 mem_used=291454976
2025-02-12T05:40:25.960880Z DEBUG influxdb3_telemetry::store: Rolling up writes/reads events_summary=EventsBucket { writes: PerMinuteWrites { lines: Stats { min: 0, max: 0, avg: 0, num_samples: 0 }, total_lines: 0, size_bytes: Stats { min: 0, max: 0, avg: 0, num_samples: 0 }, total_size_bytes: 0 }, queries: PerMinuteReads { num_queries: Stats { min: 0, max: 0, avg: 0, num_samples: 0 }, total_num_queries: 0 }, num_writes: 0, num_queries: 0 }
2025-02-12T05:40:25.960892Z DEBUG influxdb3_telemetry::bucket: Resetting write bucket write_bucket=EventsBucket { writes: PerMinuteWrites { lines: Stats { min: 0, max: 0, avg: 0, num_samples: 0 }, total_lines: 0, size_bytes: Stats { min: 0, max: 0, avg: 0, num_samples: 0 }, total_size_bytes: 0 }, queries: PerMinuteReads { num_queries: Stats { min: 0, max: 0, avg: 0, num_samples: 0 }, total_num_queries: 0 }, num_writes: 0, num_queries: 0 }
2025-02-12T05:40:25.964072Z DEBUG hyper::client::connect::dns: resolving host="telemetry.v3.influxdata.com"
2025-02-12T05:40:25.967130Z DEBUG hyper::client::connect::http: connecting to 172.29.4.16:443
2025-02-12T05:40:25.969176Z DEBUG hyper::client::connect::http: connected to 172.29.4.16:443
2025-02-12T05:40:25.969901Z DEBUG rustls::client::hs: No cached session for DnsName("telemetry.v3.influxdata.com")
2025-02-12T05:40:25.971784Z DEBUG rustls::client::hs: Not resuming any session
2025-02-12T05:40:26.401114Z INFO influxdb3_server: startup time: 572ms address=0.0.0.0:8181
2025-02-12T05:40:27.088523Z DEBUG influxdb3_server::http: Processing request request=Request { method: POST, uri: /api/v2/write?bucket=mydb&precision=ns, version: HTTP/1.1, headers: {"connection": "Upgrade, HTTP2-Settings", "content-length": "52", "host": "localhost:32769", "http2-settings": "AAEAAEAAAAIAAAABAAMAAABkAAQBAAAAAAUAAEAA", "upgrade": "h2c", "content-type": "text/plain; charset=utf-8", "user-agent": "influxdb3-java/1.0.0"}, body: Body(Streaming) }
2025-02-12T05:40:27.089712Z INFO influxdb3_server::http: write_lp to mydb
2025-02-12T05:40:27.090181Z DEBUG influxdb3_write::write_buffer: write_lp to mydb in writebuffer
2025-02-12T05:40:27.090229Z INFO influxdb3_catalog::catalog: return new db mydb
2025-02-12T05:40:27.091677Z DEBUG influxdb3_catalog::catalog: Updating / adding to catalog name="mydb" deleted=false full_batch=CatalogBatch { database_id: DbId(0), database_name: "mydb", time_ns: 1739338827090175352, ops: [CreateTable(WalTableDefinition { database_id: DbId(0), database_name: "mydb", table_name: "home", table_id: TableId(0), field_definitions: [FieldDefinition { name: "location", id: ColumnId(0), data_type: Tag }, FieldDefinition { name: "value", id: ColumnId(1), data_type: Float }, FieldDefinition { name: "time", id: ColumnId(2), data_type: Timestamp }], key: [ColumnId(0)] })] }
2025-02-12T05:40:27.591906Z DEBUG rustls::client::hs: Using ciphersuite TLS13_AES_128_GCM_SHA256
2025-02-12T05:40:27.597418Z DEBUG rustls::client::tls13: Not resuming
2025-02-12T05:40:27.597585Z DEBUG rustls::client::tls13: TLS1.3 encrypted extensions: [ServerNameAck, Protocols([ProtocolName(6832)])]
2025-02-12T05:40:27.597629Z DEBUG rustls::client::hs: ALPN protocol is Some(b"h2")
2025-02-12T05:40:27.599415Z DEBUG hyper::client::pool: pooling idle connection for ("https", telemetry.v3.influxdata.com)
2025-02-12T05:40:27.923016Z DEBUG influxdb3_wal::snapshot_tracker: >>> wal periods and snapshots wal_periods=[WalPeriod { wal_file_number: WalFileSequenceNumber(1), min_time: Timestamp(1739338814165203623), max_time: Timestamp(1739338827090175352) }] wal_periods_len=1 num_snapshots_after=900
2025-02-12T05:40:27.923108Z INFO influxdb3_wal::object_store: flushing WAL buffer to object store host="local01" n_ops=2 min_timestamp_ns=1739338814165203623 max_timestamp_ns=1739338827090175352 wal_file_number=1
2025-02-12T05:40:27.923846Z DEBUG influxdb3_wal::object_store: notify sent to buffer for wal file 1
2025-02-12T05:40:27.923885Z DEBUG influxdb3_catalog::catalog: Updating / adding to catalog name="mydb" deleted=false full_batch=CatalogBatch { database_id: DbId(0), database_name: "mydb", time_ns: 1739338827090175352, ops: [CreateTable(WalTableDefinition { database_id: DbId(0), database_name: "mydb", table_name: "home", table_id: TableId(0), field_definitions: [FieldDefinition { name: "location", id: ColumnId(0), data_type: Tag }, FieldDefinition { name: "value", id: ColumnId(1), data_type: Float }, FieldDefinition { name: "time", id: ColumnId(2), data_type: Timestamp }], key: [ColumnId(0)] })] }
2025-02-12T05:40:27.926301Z DEBUG influxdb3_server::http: Successfully processed request response=Response { status: 204, version: HTTP/1.1, headers: {}, body: Body(Empty) }
2025-02-12T05:40:27.963947Z DEBUG influxdb3_telemetry::sender: Successfully sent telemetry data to server to endpoint="https://telemetry.v3.influxdata.com/telem"
It's on our todo list to write it up influxdata/docs-v2#6276