test-infra icon indicating copy to clipboard operation
test-infra copied to clipboard

Test result analytics

Open howardjohn opened this issue 5 years ago • 2 comments

It would be useful to be able to run queries against historical test rules. The easy way to do this is to download all the logs and use grep and what not, but all the test logs add up to 500gb+ last I checked.

Some example use cases:

  • Search for a specific error message in logs
  • Find all times a test has failed
  • View pass rate of tests over time
  • View test duration over time

howardjohn avatar Feb 06 '20 04:02 howardjohn

The k8s equivalent for test results analytics is probably triage: https://storage.googleapis.com/k8s-gubernator/triage/index.html. Unfortunately, it is very k8s specific and not reusable. With that being said, we can achieve a similar result with a database, lightweight frontend, and a job to "refresh" the db. But I agree an application for these use cases would be valuable.

clarketm avatar Feb 22 '20 03:02 clarketm

Elasticsearch + Kibana might be too heavy weight, could we use Grafana logs?

scottilee avatar Apr 04 '20 18:04 scottilee