-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Error from prometheus when scraping /_stcore/metrics #14432
Copy link
Copy link
Closed
Labels
area:backendRelated to Python backendRelated to Python backendpriority:P3Medium priorityMedium prioritystatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
Error from prometheus when scraping /_stcore/metrics:
Error scraping target: unit "seconds" not a suffix of metrics "session_duration_seconds_total"
I believe the unit seconds should be at the end:
"session_duration_total_seconds"
Reproducible Code Example
Steps To Reproduce
- Scrape /_stcore/metrics endpoint with prometheus
- Check the error in prometheus > Status > Target health
Expected Behavior
Target health status in prometheus up.
Current Behavior
Target health status in prometheus down. Error scraping target: unit "seconds" not a suffix of metrics "session_duration_seconds_total"
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: 1.55.0
- Python version: 3.13
- Operating System: linux
- Browser: chrome
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:backendRelated to Python backendRelated to Python backendpriority:P3Medium priorityMedium prioritystatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected