During the Pandemic, many techies found out about the Organization called Folding@Home which empowers everyday people to use their spare compute power to perform protein folding in the name of scientific research! I became involved once I understood that this would be a perfect use case for my spare Homelab parts and quickly started racking up the research points. The best part? You can perform all of this research as part of the Dynatrace Folding@Home Team!
Now running the Folding client is easy enough, but I became curious if there was some way I could integrate this with Dynatrace itself. Thanks to the power of Workflows, Automation Engine, and Dashboards, this was all possible!
It starts off with a simple scheduled Workflow set to run every hour. Using our Github for Workflows integration, I was easily able to setup the ingest of a basic .txt file from a remote private Github repository that gets updated with the Dynatrace Team’s Stats on an hourly basis.
With this .txt file, we can then use our Metrics v2 Ingest API endpoint to ingest the raw F@H statistics as Metric Data within Dynatrace using the following format.
fah.user_score.points,team={TEAM_NAME},team_id={TEAM_ID},user={USER} {SCORE}
fah.user_score.wu,team={TEAM_NAME},team_id={TEAM_ID},user={USER} {WORK_UNITS}
fah.team_score.points,team={TEAM_NAME},team_id={TEAM_ID} {SCORE}
fah.team_score.wu,team={TEAM_NAME},team_id={TEAM_ID} {WORK_UNITS}
This leads to reliable metric data being ingest into the Dynatrace Tenant on an hourly basis, pulling from the constantly updating Github repository.
Now this is all well and good, but why stop here? Lets further break down the data using DQL!
I’ve built out a (for now) private Dashboard, showing all of the user & team data over the last 24 hour period. I hope to further expand out the details & breakdowns available in the near future, but need to learn a bit more about complex DQL queries beforehand.

