You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add concurrency tracking
* Fix concurrency tests for otel and prom trackers
* Comment out opentelemetry concurrency test since gauges are not supported
* Update docs
* Add a test for passing objectives to autometrics then using async decorator
* Update version to 0.6
---------
Co-authored-by: Brett Beutell <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,8 @@ def sayHello:
45
45
46
46
```
47
47
48
+
- You can also track the number of concurrent calls to a function by using the `track_concurrency` argument: `@autometrics(track_concurrency=True)`. Note: currently only supported by the `prometheus` tracker.
49
+
48
50
- To access the PromQL queries for your decorated functions, run `help(yourfunction)` or `print(yourfunction.__doc__)`.
49
51
50
52
- To show tooltips over decorated functions in VSCode, with links to Prometheus queries, try installing [the VSCode extension](https://marketplace.visualstudio.com/items?itemName=Fiberplane.autometrics).
0 commit comments