Skip to content

in rails 6.0.3.4 yabeda-activejob exposes only activejob_enqueued_total #20

@lain0

Description

@lain0

In rails 6.0.3.4
When my job failes or success it do not increase
/metrics activejob_failed_total or activejob_success_total only activejob_enqueued_total, how can i fix it without upgrading rails?



# TYPE activejob_executed_total counter
# HELP activejob_executed_total A counter of the total number of activejobs executed.
# TYPE activejob_enqueued_total counter
# HELP activejob_enqueued_total A counter of the total number of activejobs enqueued.
activejob_enqueued_total{importance="",activejob="Sync::MyJob",queue="default",executions="0"} 2.0
# TYPE activejob_success_total counter
# HELP activejob_success_total A counter of the total number of activejobs successfully processed.
# TYPE activejob_failed_total counter
# HELP activejob_failed_total A counter of the total number of jobs failed for an activejob.
# TYPE activejob_runtime_seconds histogram
# HELP activejob_runtime_seconds A histogram of the activejob execution time.
# TYPE activejob_latency_seconds histogram
# HELP activejob_latency_seconds The job latency, the difference in seconds between enqueued and running time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions