Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support recording the test results into prometheus #215

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

LinuxSuRen
Copy link
Owner

No description provided.

@LinuxSuRen LinuxSuRen added enhancement New feature or request backend labels Sep 14, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

There are 20 test cases:

API Average Max Min Count Error
POST http://localhost:8080/server.Runner/ConvertTestSuite 4.987324ms 4.987324ms 4.987324ms 1 0
gRPC 127.0.0.1:7070/server.Runner/GetVersion 4.541271ms 5.537826ms 3.544717ms 2 0
POST http://localhost:8080/server.Runner/GetTestSuite 4.032619ms 4.032619ms 4.032619ms 1 0
POST http://localhost:8080/server.Runner/UpdateTestSuite 3.419816ms 3.419816ms 3.419816ms 1 0
POST http://localhost:8080/server.Runner/CreateTestSuite 2.955714ms 2.955714ms 2.955714ms 1 0
gRPC 127.0.0.1:7070/server.Runner/FunctionsQueryStream 2.758562ms 2.818013ms 2.699112ms 2 0
gRPC 127.0.0.1:7070/server.Runner/FunctionsQuery 2.644062ms 2.935814ms 2.352311ms 2 0
POST http://localhost:8080/server.Runner/DeleteTestSuite 2.641612ms 4.359821ms 923.404µs 2 0
POST http://localhost:8080/server.Runner/GetSuites 1.884909ms 1.884909ms 1.884909ms 1 0
POST http://localhost:8080/server.Runner/FunctionsQuery 1.843809ms 1.843809ms 1.843809ms 1 0
POST http://localhost:8080/server.Runner/GenerateCode 1.743508ms 1.743508ms 1.743508ms 1 0
POST http://localhost:8080/server.Runner/ListTestCase 1.612857ms 1.770108ms 1.455607ms 2 0
POST http://localhost:8080/server.Runner/GetSuggestedAPIs 1.555008ms 1.555008ms 1.555008ms 1 0
POST http://localhost:8080/server.Runner/GetTestCase 1.366207ms 1.366207ms 1.366207ms 1 0
POST http://localhost:8080/server.Runner/ListConverter 1.112205ms 1.112205ms 1.112205ms 1 0
POST http://localhost:8080/server.Runner/PopularHeaders 1.030005ms 1.030005ms 1.030005ms 1 0
POST http://localhost:8080/server.Runner/GetVersion 932.004µs 932.004µs 932.004µs 1 0
POST http://localhost:8080/server.Runner/GetSecrets 904.305µs 904.305µs 904.305µs 1 0
POST http://localhost:8080/server.Runner/ListCodeGenerator 770.504µs 770.504µs 770.504µs 1 0
POST http://localhost:8080/server.Runner/GetStores 758.303µs 758.303µs 758.303µs 1 0

@codacy-production
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.14% 96.83%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (f22acca) 5484 4586 83.63%
Head commit (a9069ba) 5544 (+60) 4644 (+58) 83.77% (+0.14%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#215) 63 61 96.83%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@LinuxSuRen LinuxSuRen merged commit 94228f6 into master Sep 14, 2023
@LinuxSuRen LinuxSuRen deleted the feat/prometheus branch September 14, 2023 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant