influxdata / influxdata/influxdb

Add support for multiple types.db files

Open
#18,311 1 comment 0 reactions 0 assignees View on GitHub
1.x area/collectd kind/feature-request
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Proposal:__
Support for multiple types.db files in the "typesdb" = specification

__Current behavior:__

A single value is supported, which can be either a file or a directory (in which case the contents of the directory are read in as .db files

__Desired behavior:__

Multiple values supported.

__Use case:__

This is useful when packaging -- for instance even when packaging collectd along is common to allow for a global package controlled types.db file as well as a user override in a different location (outside the scope of directories controlled by the packaging system). This is multiplied as soon as there are multiple packages that provide valid types.db files.

Contributor guide

Open the contributing guide

Research direction

Start from the `typesdb` specification and trace how its current single file-or-directory value is interpreted. Review the collectd packaging use case described in the issue, and consider how multiple values should behave across global and user-provided files. Done means multiple `types.db` paths are accepted while preserving existing directory behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.