Recipes -- INDEX
Step-by-step recipes for the most common integration-lifecycle tasks a maintainer (or AI assistant) performs.
| Recipe | When to use |
|---|---|
add-go-collector.md |
Adding a new go.d module from scratch (most common case). |
update-collector.md |
Modifying an existing collector's metrics, config, alerts, or docs. |
add-ibm-d-module.md |
Adding a new ibm.d module (where metadata.yaml is generated). |
add-cloud-notification.md |
Adding a new cloud-notification destination. |
add-secretstore-backend.md |
Adding a new secretstore backend. |
add-service-discovery.md |
Adding a new service-discovery discoverer. |
regenerate-locally.md |
Running the full pipeline locally to verify your changes before pushing. |
Common preamble for all recipes
Every recipe assumes you are in the agent repo root. Install the Python deps once per machine:
./integrations/pip.sh
That installs jsonschema, referencing, jinja2,
ruamel.yaml -- the four packages gen_integrations.py
needs.
For fast iteration during development, prefer -c plugin/module
scoping on gen_docs_integrations.py to skip cleaning/
regenerating other directories:
python3 integrations/gen_docs_integrations.py -c go.d.plugin/<your-module>
When in doubt
- Read
pipeline.mdfor the end-to-end flow. - Read
schema-reference.mdfor the exact field yourmetadata.yamlchange needs. - Read
consistency.mdfor the collector consistency rule. - Read
gotchas.mdBEFORE assuming the pipeline does the obvious thing. - If you encountered a question that this catalog doesn't
cover and you had to investigate to answer it, AUTHOR a
how-to under
../how-tos/<slug>.mdand add it to../how-tos/INDEX.md. This rule is mandatory; see../SKILL.md"Live how-to rule".