beta

Dev Environment Launcher

The goal to create a simple watcher that could help with running one’s dev environment. Similar to something like xinetd, navigating to one.local in the above example, would handle spinning up django runserver {port} if it was not already running. This would help with the use case where I might be trying to run many django projects at once, but need to set a different port for each. Something like this may already partially be in launchd but I need to do some investigation. Perhaps modifying our environment file would automate pushing the config to launchd that’s required.

Read More →
retired

PromQL Parser in Python

Can be done with py-promql-parser which is probably much easier. How difficult it would be to re-use some of the yacc stuff for Prometheus’ go parser, and make a proper parser for Python. Alternatively could use setuptools-golang to build a go library that can be exported and used with Python to make a kind of promtool Python library. This would mostly be useful for things like checking rules or queries for syntax errors.

Read More →