-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: follow common readme guidelines #58
Conversation
3f576a8
to
a462414
Compare
Shadowing constants in function bindings should be a compilation error (and is, in Rust), but it's not here. Also changing the names of constants to add extra words and type suffix to hopefully avoid conflicts later.
README.md
Outdated
[![Discord Shield](https://discordapp.com/api/guilds/950489382626951178/widget.png?style=shield)](https://discord.gg/kHtwcH8As9) | ||
|
||
Metrics are a powerful and cost-efficient tool for understanding the health and | ||
performance of your code in production. But it's hard to decide what metrics to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
performance of your code in production. But it's hard to decide what metrics to | |
performance of your code in production, but it's hard to decide what metrics to |
README.md
Outdated
|
||
See [autometrics.dev](https://docs.autometrics.dev/) for more details on the ideas behind autometrics. | ||
|
||
**Table of Contents** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README.md
Outdated
|
||
There is a one-time setup phase to prime the code for autometrics. Once this | ||
phase is accomplished, only calling `go generate` is necessary. | ||
|
||
### Install the go generator. | ||
#### 1. Install the go generator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wouldnt go from #
to ####
, maybe do like #
to ###
(it looks weird in the toc generated by gh, see comment above)
README.md
Outdated
```patch | ||
+//autometrics:inst | ||
-func AddUser(args interface{}) error { | ||
+func AddUser(args interface{}) (err error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go 1.18 renamed interface{}
to any
, we should prefer that instead of relying on the alias: https://stackoverflow.com/a/71964388/11494565
Description
README glow up.
Checklist
The CHANGELOG is updated.The open-telemetry example in repository works fine:the docker compose file is validthe application compiles and runalerts are getting triggered in PrometheusThe prometheus example in repository works fine:the docker compose file is validthe application compiles and runalerts are getting triggered in Prometheusexemplars are accessible on the graph