def METHOD_NAME():
    @op(required_resource_keys={"prometheus"})
    def prometheus_op(context):
        h = Histogram(
            "job_runtime_seconds",
            "Description of histogram",
            registry=context.resources.prometheus.registry,
        )
        h.observe(4.7)
        recorded = context.resources.prometheus.registry.get_sample_value("job_runtime_seconds_sum")
        assert abs(4.7 - recorded) < EPS
    assert wrap_op_in_graph_and_execute(prometheus_op, run_config=ENV, resources=RESOURCES).success