karm / collector Goto Github PK
View Code? Open in Web Editor NEWMetrics collector for some Mandrel and Quarkus CI
License: Apache License 2.0
Metrics collector for some Mandrel and Quarkus CI
License: Apache License 2.0
This is not our problem. Zoho SMTP is down. I opened a support ticket.
Hello @jerboaa, @fzakkak, FYI: I am migrating the Collector to the latest Quarkus, battling with the ORM update and with what it does to our database. I wanted to let you know in case you had a similar idea :)
Currently ImageStats only keep track of the GraalVM/Mandrel version (generator_version
) used to generate them, but when it comes to the benchmark it only keeps it's name (img_name
).
That way when inspecting the data if we observe something that needs investigation there is no way to know which specific version of the benchmark was used. The best we can do now is to look for the commit hashes in the corresponding repository based on the timestamp.
PerfStats include this information under quarkusVersion
.
I believe we should introduce a similar entry for ImageStats as well (testVersion
?).
This would allow us to have the Quarkus CI (which uses a fixed/stable Mandrel image in contrast to our CI) push stats to the collector with every run of the CI on the main
branch (or even for each PR) enabling us to (more) easily trace the commits that caused some regression.
cc @jerboaa
$ mysqldump --lock-all-tables --routines --add-drop-table --disable-keys --extended-insert --events -u root -p --host=127.0.0.1 --port=3306 collector > collector.dump
Deploy GHA action
# systemctl stop collector.foci.life
# sudo -u collector ./collector -Dquarkus-profile=prod -D%prod.quarkus.hibernate-orm.database.generation=update
stop
check DB
# systemctl start collector.foci.life
Trying to update runner-info in stage-collector.foci.life fails with:
{"exceptionType":"io.quarkus.arc.ArcUndeclaredThrowableException","code":500,"error":"Error invoking subclass method"}
While the same request succeeds locally.
The request is:
curl -v -w '\n' -H "Content-Type: application/json" -H "token: $MY_RW_TOKEN" \
-X POST --data "@./runner-info.json" "https://stage-collector.foci.life/api/v1/image-stats/update-runner-info/199002"
and runner-info.json contains:
{
"testVersion": "2024-03-29-upload-native-build-stats",
"mandrelVersion": null,
"quarkusVersion": "ad6c821829016041bc5b123349d5a96113184da9",
"jdkVersion": "",
"operatingSystem": "Linux",
"architecture": "X64",
"memorySizeBytes": "16757346304",
"memorySizeAvailableBytes": "14959022080",
"description": "Quarkus CI github runner on 2024-03-29-upload-native-build-stats branch/tag"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.