Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Enhance Prometheus Metrics #271

Open
philosowaffle opened this issue Jul 30, 2022 · 0 comments
Open

[Feature] Enhance Prometheus Metrics #271

philosowaffle opened this issue Jul 30, 2022 · 0 comments
Labels
Api issues/features impacting the Api Console issues/features impacting the Console application enhancement new feature / improvments

Comments

@philosowaffle
Copy link
Owner

{"id": "9d50dddf7e594c57bda54280eeec98d7", 
"workout_counts": {"total_workouts": 374, "workouts": [{"name": "Cycling", "slug": "cycling", "count": 281, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/nonzero-cycling2.png", "workout_name": "Cycling"}, {"name": "Meditation", "slug": "meditation", "count": 21, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/nonzero-meditation2.png", "workout_name": "Meditation"}, {"name": "Strength", "slug": "strength", "count": 21, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/nonzero-strength2.png", "workout_name": "Strength"}, {"name": "Yoga", "slug": "yoga", "count": 19, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/nonzero-yoga2.png", "workout_name": "Yoga"}, {"name": "Stretching", "slug": "stretching", "count": 17, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/nonzero-stretching2.png", "workout_name": "Stretching"}, {"name": "Running", "slug": "running", "count": 11, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/nonzero-running2.png", "workout_name": "Running"}, {"name": "Cardio", "slug": "cardio", "count": 3, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/nonzero-cardio2.png", "workout_name": "Cardio"}, {"name": "Walking", "slug": "walking", "count": 1, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/nonzero-walking2.png", "workout_name": "Walking"}, {"name": "Bike Bootcamp", "slug": "bike_bootcamp", "count": 0, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/zero-bike_bootcamp2.png", "workout_name": "Bike Bootcamp"}, {"name": "Tread Bootcamp", "slug": "circuit", "count": 0, "icon_url": "https://s3.amazonaws.com/static-cdn.pelotoncycle.com/workout-count-icons/zero-circuit2.png", "workout_name": "Tread Bootcamp"}]}, "personal_records": [{"name": "Cycling", "slug": "cycling", "first_workout_date": "2017-12-01T18:50:38", "reset_date": null, "records": [{"name": "45 min", "slug": "2700", "value": 383, "raw_value": 382748.29, "unit": "kj", "unit_slug": "kj", "workout_id": "bbd62be7c8b0499b8cc7a7cef09aba5c", "workout_date": "2021-09-09T12:04:30"}, {"name": "60 min", "slug": "3600", "value": 458, "raw_value": 457814.15, "unit": "kj", "unit_slug": "kj", "workout_id": "79fa926023f849b29f026276c4a8b073", "workout_date": "2021-06-04T11:46:43"}, {"name": "75 min", "slug": "4500", "value": 528, "raw_value": 528285.34, "unit": "kj", "unit_slug": "kj", "workout_id": "d3211a672c5c47d9be189896d597020e", "workout_date": "2021-06-18T11:02:31"}, {"name": "90 min", "slug": "5400", "value": 616, "raw_value": 616048.03, "unit": "kj", "unit_slug": "kj", "workout_id": "1c1a13d0e183486f814ad8828e647220", "workout_date": "2021-08-16T11:50:17"}, {"name": "5 min", "slug": "300", "value": 24, "raw_value": 24062.32, "unit": "kj", "unit_slug": "kj", "workout_id": "9377f2cc8eb74c30aa2e362c222d749f", "workout_date": "2019-01-12T07:39:29"}, {"name": "10 min", "slug": "600", "value": 62, "raw_value": 61750.44, "unit": "kj", "unit_slug": "kj", "workout_id": "1bf136114c314764b43a0494ca3cc34d", "workout_date": "2017-12-03T17:32:19"}, {"name": "15 min", "slug": "900", "value": 95, "raw_value": 95089.79, "unit": "kj", "unit_slug": "kj", "workout_id": "6150566b9a474ae0aa2ba0c95181b6e4", "workout_date": "2019-11-06T19:36:20"}, {"name": "20 min", "slug": "1200", "value": 197, "raw_value": 196998.01, "unit": "kj", "unit_slug": "kj", "workout_id": "56dda3d658c74510b633a95e9ecc4d59", "workout_date": "2019-01-02T13:58:21"}, {"name": "30 min", "slug": "1800", "value": 239, "raw_value": 238811.32, "unit": "kj", "unit_slug": "kj", "workout_id": "a3969fc9037a4da389070020a2a0d0ea", "workout_date": "2021-08-09T11:53:34"}]}], "streaks": {"current_weekly": 31, "best_weekly": 29, "start_date_of_current_weekly": 1640959669}, "achievements": [{"id": "1b0f7ba0b9e945e88c93792484995c00", "name": "Three's Company", "slug": "threes_company", "image_url": "https://s3.amazonaws.com/peloton-achievement-images-prod/a1a3e04a6cd64933a5099dc26bd63552", "description": "Awarded for working out with 2 friends."}, {"id": "f0bdc95051b64c5bbd296e20d3fecb03", "name": "Pack", "slug": "3_squad", "image_url": "https://s3.amazonaws.com/peloton-achievement-images-prod/b198fbd9dad14128b29a08b77894dac9", "description": "Awarded for working out with 3 friends."}, {"id": "4036702255e84f26bee944331ef92310", "name": "Artist Series", "slug": "artist_series", "image_url": "https://s3.amazonaws.com/peloton-achievement-images-prod/cacdcdb29cdc41c5b3465df248a53c33", "description": "Awarded for participating in an Artist Series Class. "}, {"id": "f44c0b13802c4be1a7d5ab977a75f93f", "name": "30-Week Streak", "slug": "30_week_streak", "image_url": "https://s3.amazonaws.com/peloton-achievement-images-prod/c7d0524867c44f9a8a1a87c47c39cf09", "description": "Awarded for working out 30 weeks in a row."}, {"id": "8a2bf31316564fd8b265a86e0899d082", "name": "The Annual 2022", "slug": "the_annual_2022_2k_", "image_url": "https://s3.amazonaws.com/challenges-and-tiers-image-prod/f98575f26e1a4de396f6b9900670fe00", "description": "Awarded for achieving 2K  in the The Annual 2022."}, {"id": "657e50c747d6458480f1ba6a0fa94c6a", "name": "Dynamic Duo", "slug": "two_to_tango", "image_url": "https://s3.amazonaws.com/peloton-achievement-images-prod/2ae3065441fb4aa6afcc3226ef73f47f", "description": "Awarded for working out with a friend."}, {"id": "3a9ea8169d17455c86b9f52b1011e57b", "name": "Squad", "slug": "socialite", "image_url": "https://s3.amazonaws.com/peloton-achievement-images-prod/d824a7ed3647406596e7684b18982682", "description": "Awarded for working out with 5 friends."}, {"id": "8c0e27ed941746459f434fbab2b0199b", "name": "Homecoming 2022", "slug": "homecoming_2022", "image_url": "https://s3.amazonaws.com/peloton-achievement-images-prod/56773768a3444ef29632b8877a4dbad3", "description": "Awarded for completing a workout during Homecoming 2022. "}, {"id": "acd65fae347644b0b0f7024b948d1243", "name": "APIHM 2022", "slug": "apihm_2022", "image_url": "https://s3.amazonaws.com/peloton-achievement-images-prod/1dc50d24962a4290afa16c17715f9f00", "description": "Awarded for completing an Asian and Pacific Islander Heritage Month 2022 workout."}, {"id": "ffad6ee510ee415fbc2386d42448503e", "name": "20-Week Streak", "slug": "20_week_streak", "image_url": "https://s3.amazonaws.com/peloton-achievement-images-prod/ddda53770d7348609f1f32fe56947106", "description": "Awarded for working out 20 weeks in a row."}]}
@philosowaffle philosowaffle added the enhancement new feature / improvments label Jul 30, 2022
@philosowaffle philosowaffle added Api issues/features impacting the Api Console issues/features impacting the Console application labels Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Api issues/features impacting the Api Console issues/features impacting the Console application enhancement new feature / improvments
Projects
None yet
Development

No branches or pull requests

1 participant