influxdb/pkg
davidby-influx 858a2c6952
feat: report user query bytes (#27188)
In SHOW STATS, include per-user query response 
bytes. The httpd service, returns a new statistics 
object. userquerybytes.

Off by default, it can be turned on with the
environment variable
INFLUXDB_HTTP_USER_QUERY_BYTES_ENABLED
or the configuration parameter
UserQueryBytesEnabled
in the HTTP section.

This is available through SHOW STATS either 
when all statistics are reported, or alone 
with `FOR 'userquerybytes'`

It is returned by /debug/vars, and stored in 
the _internal database when that is enabled.
2026-02-06 14:35:19 -08:00
..
binaryutil Partition series file. 2018-01-10 08:33:25 -07:00
bloom fix(influxd): update xxhash, avoid stringtoslicebyte in cache (#578) (#25622) (#25624) 2024-12-06 16:05:03 -06:00
bytesutil Cleanup pkg package 2018-01-21 12:08:25 -08:00
data feat: report user query bytes (#27188) 2026-02-06 14:35:19 -08:00
deep build: upgrade to go1.18 (#23250) 2022-03-31 16:17:57 -05:00
encoding/simple8b chore: upgrade Go to v1.19.3 (1.x) (#23941) 2022-11-28 12:15:47 -05:00
errors chore: upgrade Go to v1.19.3 (1.x) (#23941) 2022-11-28 12:15:47 -05:00
escape pkg/escape: Add benchmarks for all bytes escape/unescape funcs 2018-01-16 11:12:47 +13:00
estimator fix(influxd): update xxhash, avoid stringtoslicebyte in cache (#578) (#25622) (#25624) 2024-12-06 16:05:03 -06:00
file feat: add TLS certificate reloading on SIGHUP (#26994) 2025-12-23 14:29:30 -06:00
limiter feat: Adds statistics measurement for compact-throughput (#26754) 2025-10-01 11:49:18 -05:00
metrics feat: file store merge metrics (#26615) 2025-07-18 12:18:37 -07:00
mmap fix: fully clean up partially opened TSI (#23430) 2022-06-10 11:31:29 -07:00
pool Cleanup pkg package 2018-01-21 12:08:25 -08:00
pprofutil Fix retain/release hang issues. 2017-12-06 09:09:41 -07:00
radix inmem: use radix sort for series ids 2018-07-17 12:31:12 -06:00
reporthelper chore: run goimports -w ./ 2021-01-29 11:40:02 -05:00
rhh fix(influxd): update xxhash, avoid stringtoslicebyte in cache (#578) (#25622) (#25624) 2024-12-06 16:05:03 -06:00
slices refactor: Change ToLower comparisons to EqualFold (#18147) 2020-05-18 19:46:59 -04:00
snowflake pkg/snowflake: be more robust against sequence rollover 2018-08-16 11:18:06 -06:00
tar feat: Update Stream to accept a bufSize for tar CopyBuffer window (#26964) 2025-12-23 13:08:15 -06:00
testing feat: add CheckedClose test helper (#27122) 2026-02-02 13:44:27 -06:00
testttp chore: Add kit (#21086) 2021-03-30 13:09:04 -04:00
tlsconfig feat: multiple TLS configuration improvements (#27162) 2026-01-28 16:41:12 -06:00
tracing feat: Upgrade flux to v0.196.1 (#26041) 2025-02-20 13:46:06 -06:00
README.md Correctly name pkg README 2015-12-17 11:24:58 -08:00

README.md

pkg/ is a collection of utility packages used by the InfluxDB project without being specific to its internals.

Utility packages are kept separate from the InfluxDB core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the InfluxDB organization, to facilitate re-use by other projects. However that is not the priority.

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!