Phanindra899 commented on PR #146:
URL: https://github.com/apache/otava/pull/146#issuecomment-4181920224

   @henrikingo — I've verified the commands from the JSON documentation and 
confirmed they work as expected. Below is the minimal example I used for 
validation.
   
   ---
   
   ### JSON File (`test_data/sample.json`)
   ```json
   [
     {
       "timestamp": 1711929600,
       "metrics": [
         { "name": "throughput", "value": 100 }
       ],
       "attributes": {
         "branch": "main"
       }
     }
   ]
   ```
   
   ---
   
   ### Config File (`otava.yaml`)
   ```yaml
   tests:
     my_benchmark:
       type: json
       file: test_data/sample.json
       base_branch: main
   ```
   
   ---
   
   ### Command Executed
   ```bash
   otava analyze my_benchmark --config otava.yaml
   ```
   
   ---
   
   ### Output
   ```text
   INFO: Computing change points for test my_benchmark...
   time                       branch      throughput
   -------------------------  --------  ------------
   2024-04-01 00:00:00 +0000  main               100
   ```
   
   ---
   
   Everything works as documented. Let me know if any adjustments are needed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to