smartcontractkit/push-gha-metrics-action

Push metrics collected from the currently executing job to as loki logs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
idA unique ID to use for this workflow, helps to keep metrics together when workflow names changeyes
github-tokenThe github token used to make API requests to gather metrics datayes${{ github.token }}
this-job-nameThe name of the currently running job, needed when the `job[job_id].name` key is specified, and when matrices are used.no
basic-authBasic auth to use to sending requests to loki, such as "bobsmith:hunter2"no
org-idThe organization/tenant id to use when sending requests to loki. See https://grafana.com/docs/loki/latest/operations/multi-tenancy/.no
hostnameThe hostname of the loki instance to connect to, such as "my-logs.grafana.net"yes
protocolThe protocol to use when sending requests to loki such as "http" or "https". Defaults to "https"yeshttps
portThe port to use when sending requests to loki such as "443". Defaults to "443"yes443
pathThe endpoint path to /loki/api/v1/pushyes/loki/api/v1/push
dry-runExecute the action till the point of sending a loki request, but don't actually send the requestyesfalse
timeoutThe timeout in milliseconds to use when sending requests to lokiyes3000
test-results-fileJson test result file to attach to the output logs, available types: go example: {"testType":"go","filePath":"./go_test_results_path.json"} no""
test-results-batch-split-sizeThe byte size to break apart metric logs into. Defaults to 512 KB (1 * 1024 * 512)no524288
additional-informationJSON field to pass an additional information about msig proposals example: {"source": "msig proposal", "data": {"network": "mainnet", "command": "command 1"}} no
matrix-aggregator-statusUsed to collect the status of an aggregation job. Mostly useful to know whether it was a normal success or a cancelled job no

no outputs