Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yandex/pandora
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.27
Choose a base ref
...
head repository: yandex/pandora
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
Choose a head ref

Commits on Jun 25, 2024

  1. discard overflow sliding window

    discard overflow sliding window
    119a0330b912b4023932f3612b25cb36c8792fed
    oke11o committed Jun 25, 2024
    Copy the full SHA
    c89292c View commit details

Commits on Jun 27, 2024

  1. HTTP scenario var/header postprocessor use multiple pipes

    803e9ad581cd4a1790bd6c50c41f58c27724f6ac
    oke11o committed Jun 27, 2024
    Copy the full SHA
    14d9dd0 View commit details

Commits on Jul 11, 2024

  1. docs with Hugo

    docs with Hugo
    595d8e2be947f2521ed6db28fdbd645f5759014a
    oke11o committed Jul 11, 2024
    Copy the full SHA
    5b8e11e View commit details
  2. new monitoring metric - engine_LastMaxActiveRequests

    58de492a9e1d14a374ca14ef471701c1fdbc8cac
    oke11o committed Jul 11, 2024
    Copy the full SHA
    2084f86 View commit details

Commits on Jul 12, 2024

  1. docs change structure

    97b5bf78d918f8113e5d5f8dbf98912671c95ac1
    oke11o committed Jul 12, 2024
    Copy the full SHA
    dc6574a View commit details

Commits on Jul 17, 2024

  1. dummy generator

    b276c49de282319efa7c7acceeaf4ac385cd268a
    oke11o committed Jul 17, 2024
    Copy the full SHA
    648b637 View commit details

Commits on Jul 18, 2024

  1. Copy the full SHA
    d21bccc View commit details

Commits on Jul 19, 2024

  1. pandora go.mod

    go.mod
    727d699f42b4bcfca727b86d0b1a5ce202dcb5a9
    oke11o committed Jul 19, 2024
    Copy the full SHA
    158863a View commit details
  2. Intermediate changes

    robot-piglet committed Jul 19, 2024
    Copy the full SHA
    a05c6c6 View commit details
  3. Fix wrong goproxy env

    98a4f132d0b580a107fc2655a32dae53bd04959f
    hdnpth committed Jul 19, 2024
    Copy the full SHA
    c81368e View commit details
  4. Intermediate changes

    robot-piglet committed Jul 19, 2024
    Copy the full SHA
    59ec70f View commit details

Commits on Jul 22, 2024

  1. pandora go.mod

    remove comment
    36c32547d39c0a19c61fd4bcf2906399df1c4974
    oke11o committed Jul 22, 2024
    Copy the full SHA
    a7e6c96 View commit details

Commits on Aug 15, 2024

  1. Intermediate changes

    robot-piglet committed Aug 15, 2024
    Copy the full SHA
    2501942 View commit details
  2. Change "load/projects/pandora/docs/content/en/generator/scenario-http…

    …-generator.md"
    
    пролезли артефакты перевода
    03a5582f3d982bed1a9c2a6a94cf43097ad85aad
    ligreen committed Aug 15, 2024
    Copy the full SHA
    7f20638 View commit details

Commits on Aug 22, 2024

  1. Intermediate changes

    robot-piglet committed Aug 22, 2024
    Copy the full SHA
    3b2d731 View commit details
  2. Missing translate

    ee25c4edce48abddce816c59f94fb72d872f579a
    shadchin committed Aug 22, 2024
    Copy the full SHA
    fd8dd5a View commit details

Commits on Sep 6, 2024

  1. Intermediate changes

    robot-piglet committed Sep 6, 2024
    Copy the full SHA
    5797ec2 View commit details
  2. Getters for netsampler metrics

    Fix automatics
    
    ---
    Co-authored-by: Nikolai Samokhin <nsamokhin@yandex-team.ru>
    7a9746e18c74edbdcdd2304f2666a82db7dabc49
    
    Pull Request resolved: #197
    seferen authored and robot-piglet committed Sep 6, 2024
    Copy the full SHA
    ee3f6ba View commit details

Commits on Sep 12, 2024

  1. count discarded requests and responses in metrics

    commit_hash:73e2c75380e290fe280175199aa1e8478e7d2386
    Digrinch committed Sep 12, 2024
    Copy the full SHA
    5fb667d View commit details

Commits on Sep 18, 2024

  1. switch performance testing flows onto yandex-cloud/yc-github-loadtest…

    …ing-ci
    
    secrets/variables to be added: https://nda.ya.ru/t/UOxCe78T78HGit
    
    ---
    Co-authored-by: vitaly4n <vitaly.4n@gmail.com>
    
    Pull Request resolved: #199
    
    Co-authored-by: vitaly4n <vitaly4n@yandex-team.com>
    commit_hash:67286228bb87294ae7a332d6a27fadaab1d6b9cb
    vitaly4n authored and robot-piglet committed Sep 18, 2024
    Copy the full SHA
    f572e78 View commit details

Commits on Sep 20, 2024

  1. Add .github/workflows folder into mapping.json

    commit_hash:fd2de5059f0564bdcdaff2dc74150e86b7913494
    nechda committed Sep 20, 2024
    Copy the full SHA
    13df09e View commit details

Commits on Sep 23, 2024

  1. bump pandora version

    commit_hash:906d6ec39a2792946c7d8273d86f81665cf40b10
    Digrinch committed Sep 23, 2024
    Copy the full SHA
    c155097 View commit details
  2. add changes to changelog

    commit_hash:f67bb88aad0f57a65069f786ec90c7322b3b8550
    Digrinch committed Sep 23, 2024
    Copy the full SHA
    a377373 View commit details

Commits on Sep 30, 2024

  1. fix websocket custom gun docs

    commit_hash:921aa183c5da0fe13ea5cc38f6e94a23217bbe6d
    Digrinch committed Sep 30, 2024
    Copy the full SHA
    4773b4c View commit details

Commits on Nov 6, 2024

  1. Intermediate changes

    commit_hash:889c559785fe3f1d06c6bc92953fe838d1f2dd1b
    robot-piglet committed Nov 6, 2024
    Copy the full SHA
    f9d4f95 View commit details

Commits on Dec 13, 2024

  1. Intermediate changes

    commit_hash:b90f88c1e5df48eafd8605ca360d04d5656a68af
    robot-piglet committed Dec 13, 2024
    Copy the full SHA
    020a568 View commit details
  2. [load]staticcheck: SA1006

    commit_hash:1613e64efe07ef20173c6968353993b281f072ab
    torkve committed Dec 13, 2024
    Copy the full SHA
    a817a38 View commit details
Showing with 6,226 additions and 4,345 deletions.
  1. +3 −0 .changes/v0.5.28.md
  2. +3 −0 .changes/v0.5.29.md
  3. +3 −0 .changes/v0.5.30.md
  4. +3 −0 .changes/v0.5.31.md
  5. +5 −0 .changes/v0.5.32.md
  6. +0 −25 .github/actions/setup-yc/action.yml
  7. +84 −0 .github/workflows/pages.yml
  8. +102 −0 .github/workflows/perftest.yml
  9. +14 −69 .github/workflows/test.yml
  10. +0 −127 .github/workflows/yc.yml
  11. +0 −1 .gitignore
  12. +192 −70 .mapping.json
  13. +4 −0 .piglet-meta.json
  14. +22 −0 CHANGELOG.md
  15. +2 −2 cli/cli.go
  16. +4 −10 cli/expvar.go
  17. +56 −0 components/guns/dummy/generator.go
  18. +1 −11 components/guns/http/base_test.go
  19. +11 −0 components/guns/import.go
  20. +14 −7 components/providers/scenario/http/postprocessor/var_header.go
  21. +179 −180 components/providers/scenario/http/postprocessor/var_header_test.go
  22. +35 −0 core/aggregator/netsample/sample.go
  23. +13 −10 core/coreutil/waiter.go
  24. +11 −0 core/engine/engine.go
  25. +18 −28 core/engine/engine_test.go
  26. +4 −2 core/engine/instance.go
  27. +8 −8 core/engine/instance_test.go
  28. +9 −0 docs/.cspell.yml
  29. +5 −0 docs/.gitignore
  30. +1 −0 docs/.nvmrc
  31. +192 −0 docs/README.md
  32. +6 −0 docs/assets/scss/_variables_project.scss
  33. +15 −0 docs/config.yaml
  34. +7 −0 docs/content/en/_index.md
  35. +61 −0 docs/content/en/aggregator/_index.md
  36. +28 −0 docs/content/en/aggregator/sink.md
  37. +6 −0 docs/content/en/best-practices/_index.md
  38. +8 −9 docs/{eng/best_practices → content/en/best-practices}/discard-overflow.md
  39. +6 −4 docs/{eng/best_practices → content/en/best-practices}/rps-per-instance.md
  40. +6 −8 docs/{eng/best_practices → content/en/best-practices}/shared-client.md
  41. +6 −0 docs/content/en/generator/_index.md
  42. +380 −0 docs/content/en/generator/custom.md
  43. +16 −0 docs/content/en/generator/dummy-generator.md
  44. +6 −8 docs/{eng → content/en/generator}/grpc-generator.md
  45. +6 −8 docs/{eng → content/en/generator}/http-generator.md
  46. +9 −34 docs/{eng → content/en/generator}/scenario-grpc-generator.md
  47. +61 −58 docs/{eng → content/en/generator}/scenario-http-generator.md
  48. +6 −0 docs/content/en/generator/scenario/_index.md
  49. +6 −8 docs/{eng → content/en/generator}/scenario/functions.md
  50. +6 −8 docs/{eng → content/en/generator}/scenario/locals.md
  51. +6 −2 docs/{eng → content/en/generator}/scenario/variable_source.md
  52. +6 −0 docs/content/en/get-started/_index.md
  53. +8 −18 docs/{eng → content/en/get-started}/architecture.md
  54. +6 −12 docs/{eng → content/en/get-started}/config.md
  55. +6 −7 docs/{eng → content/en/get-started}/install.md
  56. +4 −8 docs/{eng → content/en/get-started}/tutorial.md
  57. +6 −8 docs/{eng → content/en}/load-profile.md
  58. +7 −12 docs/{eng → content/en}/performance.md
  59. +7 −0 docs/content/en/provider/_index.md
  60. +35 −0 docs/content/en/provider/data-sources.md
  61. +20 −0 docs/content/en/provider/dummy-provider.md
  62. +9 −20 docs/{eng/providers.md → content/en/provider/http-provider.md}
  63. +46 −0 docs/content/en/provider/json-provider.md
  64. +4 −0 docs/content/en/search.md
  65. +6 −4 docs/{eng → content/en}/startup.md
  66. +7 −0 docs/content/ru/_index.md
  67. +82 −0 docs/content/ru/aggregator/_index.md
  68. +28 −0 docs/content/ru/aggregator/sink.md
  69. +6 −0 docs/content/ru/best-practices/_index.md
  70. +9 −10 docs/{rus/best_practices → content/ru/best-practices}/discard-overflow.md
  71. +7 −9 docs/{rus/best_practices → content/ru/best-practices}/rps-per-instance.md
  72. +14 −15 docs/{rus/best_practices → content/ru/best-practices}/shared-client.md
  73. +6 −0 docs/content/ru/generator/_index.md
  74. +380 −0 docs/content/ru/generator/custom.md
  75. +16 −0 docs/content/ru/generator/dummy-generator.md
  76. +6 −8 docs/{rus → content/ru/generator}/grpc-generator.md
  77. +6 −8 docs/{rus → content/ru/generator}/http-generator.md
  78. +8 −34 docs/{rus → content/ru/generator}/scenario-grpc-generator.md
  79. +58 −58 docs/{rus → content/ru/generator}/scenario-http-generator.md
  80. +6 −0 docs/content/ru/generator/scenario/_index.md
  81. +7 −9 docs/{rus → content/ru/generator}/scenario/functions.md
  82. +9 −11 docs/{rus → content/ru/generator}/scenario/locals.md
  83. +6 −8 docs/{rus → content/ru/generator}/scenario/variable_source.md
  84. +6 −0 docs/content/ru/get-started/_index.md
  85. +10 −20 docs/{rus → content/ru/get-started}/architecture.md
  86. +6 −12 docs/{rus → content/ru/get-started}/config.md
  87. +6 −7 docs/{rus → content/ru/get-started}/install.md
  88. +4 −8 docs/{rus → content/ru/get-started}/tutorial.md
  89. +13 −13 docs/{rus → content/ru}/load-profile.md
  90. +100 −0 docs/content/ru/performance.md
  91. +7 −0 docs/content/ru/provider/_index.md
  92. +35 −0 docs/content/ru/provider/data-sources.md
  93. +21 −0 docs/content/ru/provider/dummy-provider.md
  94. +227 −0 docs/content/ru/provider/http-provider.md
  95. +46 −0 docs/content/ru/provider/json-provider.md
  96. +4 −0 docs/content/ru/search.md
  97. +6 −10 docs/{rus → content/ru}/startup.md
  98. +5 −0 docs/docsy.work
  99. 0 docs/docsy.work.sum
  100. +0 −5 docs/eng/best-practices.md
  101. +0 −455 docs/eng/custom.md
  102. +5 −0 docs/go.mod
  103. +6 −0 docs/go.sum
  104. +211 −0 docs/hugo-disabled.toml
  105. +209 −0 docs/hugo.yaml
  106. +0 −28 docs/index.md
  107. +6 −0 docs/layouts/404.html
  108. +18 −0 docs/layouts/_default/_markup/render-codeblock-chem.html
  109. +18 −0 docs/layouts/_default/_markup/render-codeblock-math.html
  110. +5 −0 docs/layouts/_default/_markup/render-codeblock-mermaid.html
  111. +8 −0 docs/layouts/_default/_markup/td-render-heading.html
  112. +35 −0 docs/layouts/_default/baseof.html
  113. +17 −0 docs/layouts/_default/content.html
  114. +19 −0 docs/layouts/_default/list.html
  115. +21 −0 docs/layouts/_default/search.html
  116. +3 −0 docs/layouts/_default/single.html
  117. +32 −0 docs/layouts/_default/taxonomy.html
  118. +8 −0 docs/layouts/_default/terms.html
  119. +30 −0 docs/layouts/_internal/google_analytics.html
  120. +38 −0 docs/layouts/blog/baseof.html
  121. +29 −0 docs/layouts/blog/baseof.print.html
  122. +23 −0 docs/layouts/blog/content.html
  123. +40 −0 docs/layouts/blog/list.html
  124. +3 −0 docs/layouts/blog/section.print.html
  125. +3 −0 docs/layouts/blog/single.html
  126. +24 −0 docs/layouts/community/list.html
  127. +35 −0 docs/layouts/docs/baseof.html
  128. +25 −0 docs/layouts/docs/baseof.print.html
  129. +20 −0 docs/layouts/docs/list.html
  130. +3 −0 docs/layouts/docs/list.print.html
  131. +3 −0 docs/layouts/docs/single.html
  132. +19 −0 docs/layouts/home.html
  133. +29 −0 docs/layouts/partials/breadcrumb.html
  134. +33 −0 docs/layouts/partials/community_links.html
  135. +23 −0 docs/layouts/partials/disqus-comment.html
  136. +12 −0 docs/layouts/partials/favicons.html
  137. +14 −0 docs/layouts/partials/featured-image.html
  138. +61 −0 docs/layouts/partials/feedback.html
  139. 0 docs/layouts/partials/footer.html
  140. 0 docs/layouts/partials/footer/center.html
  141. +42 −0 docs/layouts/partials/footer/copyright.html
  142. +5 −0 docs/layouts/partials/footer/left.html
  143. +9 −0 docs/layouts/partials/footer/links.html
  144. +5 −0 docs/layouts/partials/footer/right.html
  145. +39 −0 docs/layouts/partials/head-css.html
  146. +65 −0 docs/layouts/partials/head.html
  147. 0 docs/layouts/partials/hooks/body-end.html
  148. 0 docs/layouts/partials/hooks/head-end.html
  149. +12 −0 docs/layouts/partials/navbar-lang-selector.html
  150. +14 −0 docs/layouts/partials/navbar-version-selector.html
  151. +71 −0 docs/layouts/partials/navbar.html
  152. +12 −0 docs/layouts/partials/outputformat.html
  153. +11 −0 docs/layouts/partials/page-description.html
  154. +10 −0 docs/layouts/partials/page-meta-lastmod.html
  155. +52 −0 docs/layouts/partials/page-meta-links.html
  156. +8 −0 docs/layouts/partials/pager.html
  157. +14 −0 docs/layouts/partials/print/content-blog.html
  158. +13 −0 docs/layouts/partials/print/content.html
  159. +9 −0 docs/layouts/partials/print/page-heading.html
  160. +63 −0 docs/layouts/partials/print/render.html
  161. +1 −0 docs/layouts/partials/print/toc-li-blog.html
  162. +6 −0 docs/layouts/partials/print/toc-li.html
  163. +1 −0 docs/layouts/partials/reading-time.html
  164. +121 −0 docs/layouts/partials/scripts.html
  165. +67 −0 docs/layouts/partials/scripts/mermaid.html
  166. +61 −0 docs/layouts/partials/search-input.html
  167. +83 −0 docs/layouts/partials/section-index.html
  168. +76 −0 docs/layouts/partials/sidebar-tree.html
  169. +23 −0 docs/layouts/partials/sidebar.html
  170. +12 −0 docs/layouts/partials/taxonomy_terms_article.html
  171. +16 −0 docs/layouts/partials/taxonomy_terms_article_wrapper.html
  172. +18 −0 docs/layouts/partials/taxonomy_terms_cloud.html
  173. +21 −0 docs/layouts/partials/taxonomy_terms_clouds.html
  174. +59 −0 docs/layouts/partials/theme-toggler.html
  175. +9 −0 docs/layouts/partials/toc.html
  176. +16 −0 docs/layouts/partials/version-banner.html
  177. +10 −0 docs/layouts/shortcodes/alert.html
  178. +54 −0 docs/layouts/shortcodes/blocks/cover.html
  179. +13 −0 docs/layouts/shortcodes/blocks/feature.html
  180. +20 −0 docs/layouts/shortcodes/blocks/lead.html
  181. +7 −0 docs/layouts/shortcodes/blocks/link-down.html
  182. +14 −0 docs/layouts/shortcodes/blocks/section.html
  183. +47 −0 docs/layouts/shortcodes/card.html
  184. +3 −0 docs/layouts/shortcodes/cardpane.html
  185. +36 −0 docs/layouts/shortcodes/conditional-text.html
  186. +29 −0 docs/layouts/shortcodes/figure.html
  187. +21 −0 docs/layouts/shortcodes/iframe.html
  188. +27 −0 docs/layouts/shortcodes/imgproc.html
  189. +5 −0 docs/layouts/shortcodes/pageinfo.html
  190. +41 −0 docs/layouts/shortcodes/readfile.html
  191. +91 −0 docs/layouts/shortcodes/redoc.html
  192. +15 −0 docs/layouts/shortcodes/swaggerui.html
  193. +55 −0 docs/layouts/shortcodes/tab.html
  194. +175 −0 docs/layouts/shortcodes/tabpane.html
  195. +38 −0 docs/layouts/swagger/baseof.html
  196. +20 −0 docs/layouts/swagger/list.html
  197. +3 −0 docs/layouts/swagger/single.html
  198. +47 −0 docs/package.json
  199. +0 −5 docs/rus/best-practices.md
  200. +0 −3 docs/rus/best_practices.md
  201. +0 −455 docs/rus/custom.md
  202. +0 −27 docs/rus/index.md
  203. +0 −105 docs/rus/performance.md
  204. +0 −237 docs/rus/providers.md
  205. 0 docs/{ → static}/images/architecture.graphml
  206. BIN docs/{ → static}/images/architecture.png
  207. BIN docs/{ → static}/images/http_100kb_net.png
  208. BIN docs/{ → static}/images/http_connection_close_td.png
  209. BIN docs/{ → static}/images/http_delay_10s_instances.png
  210. BIN docs/{ → static}/images/http_delay_10s_td.png
  211. BIN docs/{ → static}/images/http_keep_alive_td.png
  212. BIN docs/{ → static}/images/http_srv_fail_q.png
  213. BIN docs/{ → static}/images/scn_cases.png
  214. +2 −1 examples/http/server/server.go
  215. +96 −21 go.mod
  216. +54 −450 go.sum
  217. +48 −0 lib/monitoring/instance.go
  218. +1 −1 lib/zaputil/stack_extract_core_test.go
  219. +2 −0 main.go
  220. +0 −190 performance-test/automation/_agent_create.sh
  221. +0 −115 performance-test/automation/_agent_delete.sh
  222. +0 −180 performance-test/automation/_compose_test_create_args.sh
  223. +0 −155 performance-test/automation/_functions.sh
  224. +0 −117 performance-test/automation/_test_check.sh
  225. +0 −194 performance-test/automation/_test_run.sh
  226. +0 −169 performance-test/automation/_variables.sh
  227. +0 −120 performance-test/automation/agent.sh
  228. +0 −35 performance-test/automation/default_check_report.sh
  229. +0 −14 performance-test/automation/default_check_summary.sh
  230. +0 −28 performance-test/automation/s3_upload.sh
  231. +0 −138 performance-test/automation/test.sh
  232. +1 −0 performance-test/test-config/pandora-perf-grpc-2000inst-sleep0ms-overflow-false/test-config.yaml
  233. +1 −0 performance-test/test-config/pandora-perf-grpc-2000inst-sleep0ms-overflow-true/test-config.yaml
  234. +1 −0 performance-test/test-config/pandora-perf-grpc-2000inst-sleep50ms-overflow-false/test-config.yaml
  235. +1 −0 performance-test/test-config/pandora-perf-grpc-2000inst-sleep50ms-overflow-true/test-config.yaml
  236. +1 −0 performance-test/test-config/pandora-perf-grpc-300inst-sleep0ms-overflow-false/test-config.yaml
  237. +1 −0 performance-test/test-config/pandora-perf-grpc-300inst-sleep0ms-overflow-true/test-config.yaml
  238. +1 −0 performance-test/test-config/pandora-perf-http-uri-2000inst-sleep0ms-overflow-false/test-config.yaml
  239. +1 −0 performance-test/test-config/pandora-perf-http-uri-2000inst-sleep0ms-overflow-true/test-config.yaml
  240. +1 −0 ...ormance-test/test-config/pandora-perf-http-uri-2000inst-sleep50ms-overflow-false/test-config.yaml
  241. +1 −0 performance-test/test-config/pandora-perf-http-uri-2000inst-sleep50ms-overflow-true/test-config.yaml
  242. +1 −0 performance-test/test-config/pandora-perf-http-uri-300inst-sleep0ms-overflow-false/test-config.yaml
  243. +1 −0 performance-test/test-config/pandora-perf-http-uri-300inst-sleep0ms-overflow-true/test-config.yaml
  244. +14 −11 tests/acceptance/common.go
  245. +3 −10 tests/acceptance/connect_test.go
  246. +68 −0 tests/acceptance/dummy_test.go
  247. +4 −15 tests/acceptance/grpc_test.go
  248. +2 −9 tests/acceptance/http_scenario_test.go
  249. +2 −9 tests/acceptance/http_test.go
  250. +1 −1 tests/acceptance/testdata/connect/connect.yaml
  251. +21 −0 tests/acceptance/testdata/dummy/dummy.yaml
  252. +8 −7 tests/acceptance/testdata/http_scenario/http_payload.hcl
  253. +9 −9 tests/http_scenario/testdata/http_payload.hcl
3 changes: 3 additions & 0 deletions .changes/v0.5.28.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.28 - 2024-06-24
### Changed
* `discard_overflow` logic. Waiter wait 2 seconds sliding window before skip payload
3 changes: 3 additions & 0 deletions .changes/v0.5.29.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.29 - 2024-06-25
### Added
* HTTP scenario var/header postprocessor use multiple pipes
3 changes: 3 additions & 0 deletions .changes/v0.5.30.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.30 - 2024-07-10
### Added
* new monitoring metric - engine_LastMaxActiveRequests
3 changes: 3 additions & 0 deletions .changes/v0.5.31.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.31 - 2024-07-12
### Added
* dummy generator
5 changes: 5 additions & 0 deletions .changes/v0.5.32.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## v0.5.32 - 2024-09-23
### Added
* getters for netsampler metrics
### Changed
* count discarded requests in request/response metrics
25 changes: 0 additions & 25 deletions .github/actions/setup-yc/action.yml

This file was deleted.

84 changes: 84 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Deploy Hugo site to Pages

on:
push:
branches:
- dev

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

defaults:
run:
shell: bash

jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.128.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
hugo version
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Node.js dependencies
run: |
cd docs
echo "npm install -g postcss postcss-cli autoprefixer"
npm i
[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
TZ: America/Los_Angeles
run: |
cd docs
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/public

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
102 changes: 102 additions & 0 deletions .github/workflows/perftest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Performance tests

on:
release:
types: [ created ]

env:
AWS_ENDPOINT_URL: https://storage.yandexcloud.net
AWS_REGION: ru-central1

jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
cache: true
- id: test-go-setup
run: go test -race -covermode atomic ./...
- id: build
run: |
export GOOS=linux
export CGO_ENABLED=0
go build -o pandora-perf
- id: upload-binary
uses: osiegmar/s3-publisher-action@v1
env:
AWS_ACCESS_KEY_ID: ${{ secrets.YC_S3_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.YC_S3_KEY_SECRET }}
with:
dir: .
includes: pandora-perf
bucket: ${{ vars.YC_LOADTESTING_DATA_BUCKET }}

test-pandora-perf:
needs: [ build-and-upload ]
runs-on: ubuntu-latest
concurrency: { group: loadtesting }
env:
PERFTESTS_ROOT: "./performance-test/test-config"
PERFTESTS_AGENT_NAME: "agent-pandora-perf-medium"
TEST_LABELS: "version=${{ github.ref_name }}"
AGENT_FILTER: "name = 'agent-pandora-perf-medium'"
steps:
- uses: actions/checkout@v4
- id: run-perftests
name: Run Pandora Performance Tests
uses: yandex-cloud/yc-github-loadtesting-ci/test-suite@v1-beta
with:
action-log-level: INFO
auth-key-json-base64: ${{ secrets.YC_LOADTESTING_KEY_JSON_BASE64 }}
folder-id: ${{ vars.YC_LOADTESTING_FOLDER_ID }}
data-bucket: ${{ vars.YC_LOADTESTING_DATA_BUCKET }}
add-labels: "version=${{ github.ref_name }}"
agent-filter: "name='${{ env.PERFTESTS_AGENT_NAME }}'"
test-directories: |
"${{ env.PERFTESTS_ROOT }}/pandora-perf-grpc-2000inst-sleep0ms-overflow-false"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-grpc-2000inst-sleep50ms-overflow-false"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-grpc-300inst-sleep0ms-overflow-false"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-grpc-2000inst-sleep0ms-overflow-true"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-grpc-2000inst-sleep50ms-overflow-true"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-grpc-300inst-sleep0ms-overflow-true"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-http-uri-300inst-sleep0ms-overflow-false"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-http-uri-2000inst-sleep0ms-overflow-false"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-http-uri-2000inst-sleep50ms-overflow-false"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-http-uri-300inst-sleep0ms-overflow-true"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-http-uri-2000inst-sleep0ms-overflow-true"
"${{ env.PERFTESTS_ROOT }}/pandora-perf-http-uri-2000inst-sleep50ms-overflow-true"
- uses: actions/upload-artifact@v4
if: always()
with:
name: perftest-artifacts
path: ${{ steps.run-perftests.outputs.artifacts-dir }}

- id: make-test-infos-json
if: always()
run: cp "${{ steps.run-perftests.outputs.test-infos-file }}" test-infos.json

- id: make-imbalance-md-str
name: Generate report
uses: sergeysova/jq-action@v2
with:
multiline: true
cmd: |
jq -r '.[] | "- \(.details.name): **\(.summary.imbalance_point.rps // 0 | tonumber)**"' test-infos.json > imbalance.md
- uses: actions/upload-artifact@v4
with:
name: imbalance.md
path: imbalance.md

- name: Update release
uses: tubone24/update_release@v1.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body_path: imbalance.md
is_append_body: true

83 changes: 14 additions & 69 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -10,15 +10,6 @@ on:
- master
- dev

env:
YC_LT_FOLDER_ID: b1gacohsvc2kc4d76tu5
YC_LT_AUTHORIZED_KEY_JSON: ${{ secrets.YC_LOADTESTING_CI_AUTHORIZED_KEY_JSON }}
YC_LT_TEST_AGENT_FILTER: "name = 'agent-pandora-perf-medium'"
YC_LT_TEST_EXTRA_DESCRIPTION: "GitHub Actions workflow - ${{github.run_id}}"
YC_LT_SKIP_TEST_CHECK: "1"
YC_LT_DATA_BUCKET: ${{ secrets.YC_LT_DATA_BUCKET }}
YC_LT_OUTPUT_DIR: ${{github.workspace}}/performance-test/output

jobs:
run-unit-tests:
name: Unit Tests
@@ -28,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu]
os: [ubuntu, macOS]
env:
OS: ${{ matrix.os }}-latest
GO: ${{ matrix.go-version }}
@@ -37,64 +28,18 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Parse to Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_ID: 161082234
run: |
cat <<EOF > imbalance.txt
## Performance tests
- pandora-perf-grpc-300inst-sleep0ms: 12344
- pandora-perf-grpc-3000inst-sleep0ms: 15555
EOF
sed G imbalance.txt > imbalance.md
- name: Update release
id: update_release
uses: tubone24/update_release@v1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: v0.5.27.alpha13
- name: Install Go
uses: actions/setup-go@v3
with:
body_path: ./imbalance.md
is_append_body: true
go-version: 1.21.x
cache: true

# build-and-upload:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/setup-yc
# - name: Install Go
# uses: actions/setup-go@v3
# with:
# go-version: 1.21.x
# cache: true
# - name: Test
# run: go test -race -covermode atomic ./...
# - name: Build
# run: |
# export GOOS=linux
# export CGO_ENABLED=0
# go build -o pandora_perf_2
# - name: Upload
# run: |
# source performance-test/automation/_functions.sh && source performance-test/automation/_variables.sh; yc_s3_upload ./pandora_perf_2 pandora-perf ${YC_LT_DATA_BUCKET}
#
# test-pandora-perf:
# needs: [ build-and-upload ]
# runs-on: ubuntu-latest
# concurrency: { group: loadtesting }
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/setup-yc
# - name: Run Test HTTP-300inst-sleep0ms
# run: |
# stripped_tag="${{ github.event.release.tag_name }}"
# STRIPPED_TAG=${stripped_tag:1}
# YC_LT_VERBOSE=2 YC_LT_TEST_EXTRA_LABELS="version=${STRIPPED_TAG}" ./performance-test/automation/test.sh ./performance-test/test-config/pandora-perf-http-uri-300inst-sleep0ms
# - name: Upload Artifacts GRPC 300inst-sleep0ms
# uses: actions/upload-artifact@v4
# with:
# name: pandora-perf-grpc-300inst-sleep0ms
# path: ${{ env.YC_LT_OUTPUT_DIR }}
- name: Test
run: go test -race -coverprofile unit.txt -covermode atomic ./...

- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
with:
file: ./unit.txt
flags: unit,${{ matrix.os }},go-${{ matrix.go-version }}
name: unit
Loading