Skip to content

Add metric to time phone generation script #20

@evanugarte

Description

@evanugarte

call the sce phone number at 1 (866) 975-0444 and the menu should mention option 3 for leaderboard information.

to get the audio to play, the phone system talks to the below endpoint

sign2/server.py

Line 136 in 5063915

@app.get("/phone")

generating the script takes some time, and right now we dont have a way to see how much time it takes.

game plan, adding metric

https://prometheus.github.io/client_python/

game plan, testing metric

  • add said metric, visit http://localhost:8000/phone , does anything load?
  • if the above is true, does http://localhost:8000/metrics show wav_file_generation_seconds ? use ctrl/cmd + f to find it
  • open a pr to add this new metric with a screenshot of the above step, showing the metric

game plan, monitoring

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