Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Add config file, for setting default parameters #86

Open
eklitzke opened this issue Jul 14, 2017 · 0 comments
Open

Add config file, for setting default parameters #86

eklitzke opened this issue Jul 14, 2017 · 0 comments

Comments

@eklitzke
Copy link
Contributor

At the minimum, we want to support setting a default sample rate (same as the -r option) and sample time (same as the -s option).

Ideally this could be done using the XDG spec, so that it would be something like:

  • First read /etc/pyflame/config.yaml
  • Merge with ~/.config/pyflame/config.yaml

That way a site operator can update the default settings globally. It looks like there are a few C and C++ libraries that implement basic XDG support.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant