Giter Club home page Giter Club logo

collector's People

Contributors

jerboaa avatar karm avatar zakkak avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jerboaa zakkak

collector's Issues

Migrate to the latest Quarkus

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 :)

Support the inclusion of commit/version of test in ImageStats

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

Release 2.1.0 to prod

$ 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

Updating runner info fails on stage-collector but not locally...

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"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.