gomods / athens-charts

Helm charts for athens
https://gomods.github.io/athens-charts/
MIT License
10 stars 18 forks source link

Documentation doesn't mention how to enable monitoring/metrics #80

Closed MarkSRobinson closed 1 month ago

MarkSRobinson commented 2 months ago

The docs don't seem to mention how to configure/enable metrics. This is super important because they're disabled by default.

DrPsychick commented 2 months ago

Enabling metrics is as straight forward as in any other chart, or am I missing something?

https://github.com/gomods/athens-charts/blob/e1a74f29dd20553b99b966310c84b53770b463ff/charts/athens-proxy/values.yaml#L187

MarkSRobinson commented 2 months ago

It's obvious to helm experts like us. But for a lot of users who just want to use the chart, they will be intimidated by digging into the chart itself.

I've seen other projects explicitly list all the values that can be set in the documentation.

DrPsychick commented 2 months ago

Ok, I understand.

I think we have several options: a) listing all possible values in the README (a table, like in other Helm charts). This would be more effort and needs to be held in sync with every update/change. b) adding a section about metrics in the existing docs: https://docs.gomods.io/install/install-on-kubernetes/#replicas (which needs a change in the athens repo (https://github.com/gomods/athens/tree/main/docs/content/install) c) document the possible values in values.yaml which is distributed with the chart

I'm not sure if this is worth the invest though. My thinking is that a reliable installation of Athens needs to be "maintained" and operated by people that know what they are doing. Although they are "users" of the Chart, they should not be considered non-technical "users".

So it would help to define the target audience for this change in more detail:

Don't get me wrong, I don't mind adding or extending documentation when it makes sense. We do have to consider though that documentation also needs to be maintained and this is an open source project, maintained by people mostly in their spare time.

With that said, I'd be more than happy to review suggested changes, if someone provides a PR.

DrPsychick commented 2 months ago

what might be another option is to automate docs from values:

from all of the above, after a brief look, I'd favor the helm-docs one and I do think this would be very well worth the effort and also ensure that values.yaml documentation is consistent.

DrPsychick commented 1 month ago

I'll close this as we've just merged the updated docs PR. @MarkSRobinson feel free to comment or reopen if you still feel that there is something missing. And thank you very much for triggering this topic!