Files
hatchet/examples
Mohammed Nafees ef498a6235 Introduce tenant Prometheus metrics (#1875)
* introduce tenant workflow completed metric

* expose tenant prom metrics via handler

* fix workflow and worker id in metrics

* correctly add workflow metrics from workflow controller

* use olap DB to gather information for workflow completion

* fix prom metrics endpoint for tenant

* workflow name from external id

* simplify tenant registry based metrics

* add docs for prometheus metrics

* fix docs lint

* run prettier fix

* WIP metrics work

* use federate prom server URL to proxy metrics

* implement workflow duration histogram metric

* separate prom stack docker compose

* fix duration metrics calls

* move scheduler metrics to prom tenant specific file

* update docs for prom metrics

* fix lint

* use proper indices to query for durations

* reorg tenant metrics

* fix lint for doc

* update docs with promql examples and casing around prom metrics enabled

* update prom server url

* fix lint

* enabled prom metrics for v1 only from controller
2025-06-27 11:46:31 -04:00
..
2025-04-30 14:10:09 -07:00

Hatchet Examples

Contributing

These examples are generated from SDK source where they include, to contribute updates to these docs please make these changes in the sdk source:

  • Typescript: ../sdks/typescript/src/v1/examples
  • Python: ../sdks/python/examples
  • Go: ../pkg/examples

Comment Markup

We use a special comment markup to generate code snips for our docs. Markups support single line comments in typescript/go // or python #.

Blocks
// > Block Title
BLOCK CONTENT
// !!
Highlights
HH-name 1 hello
hello world

Where 1 is the number of lines to highlight and hello are strings to specifically highlight.