All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.0.4 (2019-12-27)
- registry: provide render handler (9fc6dbc)
- docs: link pypi badge to package (72a5b0b)
- examples: handle parsing errors in minimal (9623e42)
- examples: remove duplicate import from cpython (91cf326)
- metric: handle dec correctly when no value exists for labels (a3dcea1)
- metric: only print help/type once for summaries (ad58e32)
- router: register new routes correctly (74da839)
- server: ensure complete http header is present (efa6694)
- test: decode response chunks in mock (e6e959b)
- test: encode mock conn responses (b8da77b)
- metric: validate names according to Prometheus data model rules. ValueError will be raised for invalid names that would have previously been accepted.
- rename all print/print_* methods to render/render_* to be more compatible with Python 3
- server: server.await_http_request renamed to Server.accept
- router: http file renamed to server, route to router
- build: add a build, run tests with coverage (6d8ade4)
- build: add climate/codecov targets to make (4303d1b)
- build: add commit status and coverage upload jobs (0d9af01)
- build: emit and artifact html coverage report (7d153bf)
- examples: add bme680 sensor to i2c example (c66b2fe)
- examples: add example parser, clean up bind (4791718)
- examples: add example with i2c sensor (si7021 temperature/humidity) (f9ea0e4)
- examples: use labels in i2c example (fixes #1) (57c2938)
- metric: naive implementation of labels for all types (1cec4a2)
- metric: validate metric and label names (fixes #2) (f6057e5)
- metrics: add summary metric type (2b5dba6)
- router: implement (method, path) routing (ce967b7)
- scripts: add github status script (29e5027)
- scripts: add rudimentary deploy script for lib+example (1bf14b1)
- server: make depth and timeout parameters, get request body from parse method (9b983f9)
- server: set socket timeout if possible (46f632e)
- utils: add bind helper (1f1f862)
- utils: move i2c scan into utils (81c591e)
- utils: supported limited number of i2c lock tries (173168c)
- add example for normal python too (db3fd98)
- add package structure (4eb9e92)
- implement basic path routing (f29e276)
- prometheus sdk for circuitpython (26b88e3)
- build: generate xml coverage report for codeclimate (496b974)
- docs: readme badges (4e9216e)
- examples: clean up networking (f098c6b)
- examples: poll for IP more slowly, print any errors after accept (2fe23d9)
- examples: update with render calls (2e87fca)
- examples: use lambda handlers (ec0b275)
- examples: working cpython/linux example (f10a124)
- metric: include namespace in counter value line (f8cdc8e)
- metric: omit label brackets when no labels are present (39887bb)
- metric: reset labels after receiving a value (21564fa)
- server: block with timeout on cpython (3498c2a)
- test: cover label and registry render more (f0f5bc8)
- test: sort values before checking (176541f)
- pc example, deploy script (5bd18ee)
- test: cover registering metrics, utils (f89c09f)
- rename print methods to render (a1dcc99)
- server: include error message in settimeout attempt, remove unused params (30e217f)
- server: refactor into class (d8caeeb)