Sample code and demo for user metadata using Temporal. Allows for greater insights into observability by decorating Activities, Timers, and Workflows with custom text and markdown.
This sample is compatible with the Swing UI in the Java User Metadata sample.
temporal server start-devgo run ./workergo run ./starteror use the Java Swing UI (start with./gradlew run)
Run the worker;
go run ./worker \
-target-host my.namespace.tmprl.cloud:7233 \
-namespace my.namespace \
-client-cert path/to/cert.pem \
-client-key path/to/key.pem
Start the workflow;
go run ./starter \
-target-host my.namespace.tmprl.cloud:7233 \
-namespace my.namespace \
-client-cert path/to/cert.pem \
-client-key path/to/key.pem
Run the worker;
go run ./worker \
-target-host endpoint:7233 \
-namespace my.namespace \
-api-key CLIENT_API_KEY
Start the workflow;
go run ./starter \
-target-host endpoint:7233 \
-namespace my.namespace \
-api-key CLIENT_API_KEY