getappmap / appmap-ruby

AppMap client agent for Ruby
https://appland.org
Other
100 stars 13 forks source link

AppMap documentation improvements #318

Closed cholguin86 closed 1 year ago

cholguin86 commented 1 year ago

I am creating this issue to improve the AppMap documentation based on my experience with AppMap using the ruby gem. I want to share some important facts that should be better documented. Current documentation is available here: https://appmap.io/docs/reference/appmap-ruby.html

When AppMap is enabled and the specs are run, The following actions will always be executed:

Please keep in mind those documentation improvements. I think this will help developers avoid confusion. Thanks!

kgilpin commented 1 year ago

Hi @cholguin86 thanks for your submission.

If you are running rspec tests, you can disable AppMaps for a test or example group using the tag appmap: false. We will add this to the docs.

You can also disable AppMaps completely using the env var APPMAP=false

HTTP request and SQL, along with other specifically labeled code, is always recorded if AppMaps are enabled. We will use update the docs to make this more prominent.

kgilpin commented 1 year ago

Fixed by https://github.com/getappmap/applandinc.github.io/pull/983