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

Exit with 0 code when --one_shot is set #576

Merged
merged 1 commit into from
Aug 26, 2021
Merged

Exit with 0 code when --one_shot is set #576

merged 1 commit into from
Aug 26, 2021

Conversation

prymitive
Copy link
Contributor

I was able to use --one_shot to test mtail file syntax but ab3cbf2 added os.Exit(1) so I cannot use exit code to tell if a file is valid or not.
Change exit code from 1 to 0, if there was a syntax error then earlier code will catch it.

@prymitive prymitive requested a review from jaqx0r as a code owner August 23, 2021 09:10
@google-cla
Copy link

google-cla bot commented Aug 23, 2021

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@prymitive
Copy link
Contributor Author

@googlebot I signed it!

@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2021

Codecov Report

Merging #576 (3f820c9) into main (86f0972) will not change coverage.
The diff coverage is n/a.

❗ Current head 3f820c9 differs from pull request most recent head 9ee3c88. Consider uploading reports for the commit 9ee3c88 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main     #576   +/-   ##
=======================================
  Coverage   59.87%   59.87%           
=======================================
  Files          66       66           
  Lines        7222     7222           
=======================================
  Hits         4324     4324           
  Misses       2645     2645           
  Partials      253      253           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update edc050f...9ee3c88. Read the comment docs.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 25, 2021

Benchmark Result

Benchmark diff with base
name                                                                          time/op
pkg:github.com/google/mtail/internal/metrics goos:linux goarch:amd64
Store/Add-1                                                                      807ns ± 3%
Store/Add-1-2                                                                    810ns ± 2%
Store/Add-1-4                                                                    825ns ± 0%
Store/Add-2                                                                     1.31µs ± 2%
Store/Add-2-2                                                                   1.29µs ± 1%
Store/Add-2-4                                                                   1.31µs ± 1%
Store/Add-4                                                                     2.31µs ± 1%
Store/Add-4-2                                                                   2.29µs ± 2%
Store/Add-4-4                                                                   2.37µs ± 3%
Store/Add-8                                                                     4.47µs ± 1%
Store/Add-8-2                                                                   4.39µs ± 1%
Store/Add-8-4                                                                   4.50µs ± 1%
Store/Add-16                                                                    9.47µs ± 2%
Store/Add-16-2                                                                  9.33µs ± 1%
Store/Add-16-4                                                                  9.40µs ± 3%
Store/Add-32                                                                    18.6µs ± 2%
Store/Add-32-2                                                                  19.0µs ± 8%
Store/Add-32-4                                                                  19.0µs ± 1%
Store/Add-64                                                                    39.2µs ± 9%
Store/Add-64-2                                                                  38.4µs ± 3%
Store/Add-64-4                                                                  39.8µs ± 8%
Store/Add-128                                                                   78.2µs ± 4%
Store/Add-128-2                                                                 76.5µs ± 6%
Store/Add-128-4                                                                 78.6µs ± 3%
Store/Add-256                                                                    165µs ± 2%
Store/Add-256-2                                                                  160µs ± 2%
Store/Add-256-4                                                                  162µs ± 4%
Store/Add-512                                                                    347µs ± 2%
Store/Add-512-2                                                                  325µs ± 2%
Store/Add-512-4                                                                  332µs ± 2%
Store/Add-1024                                                                   706µs ± 1%
Store/Add-1024-2                                                                 658µs ± 2%
Store/Add-1024-4                                                                 687µs ± 1%
Store/AddParallel-1                                                              811ns ± 2%
Store/AddParallel-1-2                                                            832ns ± 2%
Store/AddParallel-1-4                                                            861ns ± 2%
Store/AddParallel-2                                                             1.31µs ± 1%
Store/AddParallel-2-2                                                           1.36µs ± 0%
Store/AddParallel-2-4                                                           1.44µs ± 1%
Store/AddParallel-4                                                             2.34µs ± 1%
Store/AddParallel-4-2                                                           2.41µs ± 2%
Store/AddParallel-4-4                                                           2.48µs ± 2%
Store/AddParallel-8                                                             4.49µs ± 1%
Store/AddParallel-8-2                                                           4.67µs ± 1%
Store/AddParallel-8-4                                                           4.81µs ± 2%
Store/AddParallel-16                                                            9.57µs ± 1%
Store/AddParallel-16-2                                                          9.81µs ± 3%
Store/AddParallel-16-4                                                          10.2µs ± 1%
Store/AddParallel-32                                                            18.7µs ± 1%
Store/AddParallel-32-2                                                          19.3µs ± 1%
Store/AddParallel-32-4                                                          21.0µs ± 9%
Store/AddParallel-64                                                            39.6µs ± 7%
Store/AddParallel-64-2                                                          39.1µs ± 1%
Store/AddParallel-64-4                                                          41.4µs ± 3%
Store/AddParallel-128                                                           79.0µs ± 5%
Store/AddParallel-128-2                                                         84.5µs ± 3%
Store/AddParallel-128-4                                                         85.7µs ± 5%
Store/AddParallel-256                                                            168µs ± 3%
Store/AddParallel-256-2                                                          169µs ± 4%
Store/AddParallel-256-4                                                          177µs ± 1%
Store/AddParallel-512                                                            350µs ± 2%
Store/AddParallel-512-2                                                          349µs ± 2%
Store/AddParallel-512-4                                                          367µs ± 3%
Store/AddParallel-1024                                                           712µs ± 2%
Store/AddParallel-1024-2                                                         708µs ± 1%
Store/AddParallel-1024-4                                                         724µs ± 1%
Store/AddWithGc-1                                                               2.35µs ± 0%
Store/AddWithGc-1-2                                                             2.36µs ± 0%
Store/AddWithGc-1-4                                                             2.39µs ± 1%
Store/AddWithGc-2                                                               2.88µs ± 0%
Store/AddWithGc-2-2                                                             3.25µs ±33%
Store/AddWithGc-2-4                                                             2.93µs ± 1%
Store/AddWithGc-4                                                               3.97µs ± 1%
Store/AddWithGc-4-2                                                             3.94µs ± 1%
Store/AddWithGc-4-4                                                             4.02µs ± 0%
Store/AddWithGc-8                                                               6.21µs ± 1%
Store/AddWithGc-8-2                                                             6.14µs ± 1%
Store/AddWithGc-8-4                                                             6.20µs ± 0%
Store/AddWithGc-16                                                              11.4µs ± 3%
Store/AddWithGc-16-2                                                            11.3µs ± 1%
Store/AddWithGc-16-4                                                            11.4µs ± 1%
Store/AddWithGc-32                                                              21.2µs ± 1%
Store/AddWithGc-32-2                                                            21.3µs ± 7%
Store/AddWithGc-32-4                                                            21.2µs ± 1%
Store/AddWithGc-64                                                              41.9µs ± 1%
Store/AddWithGc-64-2                                                            41.1µs ± 4%
Store/AddWithGc-64-4                                                            41.2µs ± 1%
Store/AddWithGc-128                                                             82.7µs ± 4%
Store/AddWithGc-128-2                                                           80.2µs ± 2%
Store/AddWithGc-128-4                                                           83.4µs ± 4%
Store/AddWithGc-256                                                              182µs ± 2%
Store/AddWithGc-256-2                                                            167µs ± 4%
Store/AddWithGc-256-4                                                            172µs ± 3%
Store/AddWithGc-512                                                              361µs ± 1%
Store/AddWithGc-512-2                                                            344µs ± 1%
Store/AddWithGc-512-4                                                            351µs ± 2%
Store/AddWithGc-1024                                                             744µs ± 2%
Store/AddWithGc-1024-2                                                           688µs ± 2%
Store/AddWithGc-1024-4                                                           701µs ± 2%
Store/AddWithGcParallel-1                                                        806ns ± 2%
Store/AddWithGcParallel-1-2                                                      837ns ± 1%
Store/AddWithGcParallel-1-4                                                      857ns ± 2%
Store/AddWithGcParallel-2                                                       1.32µs ± 3%
Store/AddWithGcParallel-2-2                                                     1.36µs ± 2%
Store/AddWithGcParallel-2-4                                                     1.39µs ± 1%
Store/AddWithGcParallel-4                                                       2.33µs ± 1%
Store/AddWithGcParallel-4-2                                                     2.42µs ± 2%
Store/AddWithGcParallel-4-4                                                     2.49µs ± 3%
Store/AddWithGcParallel-8                                                       4.51µs ± 1%
Store/AddWithGcParallel-8-2                                                     4.65µs ± 1%
Store/AddWithGcParallel-8-4                                                     4.80µs ± 1%
Store/AddWithGcParallel-16                                                      9.62µs ± 1%
Store/AddWithGcParallel-16-2                                                    9.84µs ± 2%
Store/AddWithGcParallel-16-4                                                    10.2µs ± 3%
Store/AddWithGcParallel-32                                                      19.0µs ± 2%
Store/AddWithGcParallel-32-2                                                    20.1µs ± 5%
Store/AddWithGcParallel-32-4                                                    21.0µs ±10%
Store/AddWithGcParallel-64                                                      39.6µs ± 3%
Store/AddWithGcParallel-64-2                                                    40.2µs ± 4%
Store/AddWithGcParallel-64-4                                                    40.7µs ± 3%
Store/AddWithGcParallel-128                                                     78.6µs ± 1%
Store/AddWithGcParallel-128-2                                                   80.8µs ± 4%
Store/AddWithGcParallel-128-4                                                   84.5µs ± 4%
Store/AddWithGcParallel-256                                                      173µs ± 4%
Store/AddWithGcParallel-256-2                                                    167µs ± 2%
Store/AddWithGcParallel-256-4                                                    177µs ± 3%
Store/AddWithGcParallel-512                                                      344µs ± 3%
Store/AddWithGcParallel-512-2                                                    342µs ± 3%
Store/AddWithGcParallel-512-4                                                    364µs ± 2%
Store/AddWithGcParallel-1024                                                     714µs ± 1%
Store/AddWithGcParallel-1024-2                                                   701µs ± 1%
Store/AddWithGcParallel-1024-4                                                   718µs ± 2%
Store/Iterate-1                                                                  337ns ± 0%
Store/Iterate-1-2                                                                337ns ± 0%
Store/Iterate-1-4                                                                337ns ± 0%
Store/Iterate-2                                                                  351ns ± 1%
Store/Iterate-2-2                                                                352ns ± 1%
Store/Iterate-2-4                                                                351ns ± 0%
Store/Iterate-4                                                                  375ns ± 0%
Store/Iterate-4-2                                                                376ns ± 0%
Store/Iterate-4-4                                                                376ns ± 0%
Store/Iterate-8                                                                  415ns ± 1%
Store/Iterate-8-2                                                                418ns ± 1%
Store/Iterate-8-4                                                                416ns ± 1%
Store/Iterate-16                                                                 569ns ± 1%
Store/Iterate-16-2                                                               568ns ± 2%
Store/Iterate-16-4                                                               568ns ± 1%
Store/Iterate-32                                                                 840ns ± 1%
Store/Iterate-32-2                                                               838ns ± 4%
Store/Iterate-32-4                                                               831ns ± 4%
Store/Iterate-64                                                                1.38µs ± 2%
Store/Iterate-64-2                                                              1.39µs ± 5%
Store/Iterate-64-4                                                              1.40µs ± 3%
Store/Iterate-128                                                               2.56µs ± 3%
Store/Iterate-128-2                                                             2.50µs ± 2%
Store/Iterate-128-4                                                             2.54µs ± 3%
Store/Iterate-256                                                               4.95µs ± 2%
Store/Iterate-256-2                                                             4.87µs ± 2%
Store/Iterate-256-4                                                             4.82µs ± 1%
Store/Iterate-512                                                               9.48µs ± 1%
Store/Iterate-512-2                                                             9.37µs ± 1%
Store/Iterate-512-4                                                             9.46µs ± 2%
Store/Iterate-1024                                                              18.5µs ± 1%
Store/Iterate-1024-2                                                            18.3µs ± 1%
Store/Iterate-1024-4                                                            18.4µs ± 1%
Store/IterateParallel-1                                                          340ns ± 0%
Store/IterateParallel-1-2                                                        377ns ± 1%
Store/IterateParallel-1-4                                                        392ns ± 0%
Store/IterateParallel-2                                                          356ns ± 0%
Store/IterateParallel-2-2                                                        391ns ± 0%
Store/IterateParallel-2-4                                                        431ns ± 7%
Store/IterateParallel-4                                                          380ns ± 0%
Store/IterateParallel-4-2                                                        426ns ± 1%
Store/IterateParallel-4-4                                                        487ns ±13%
Store/IterateParallel-8                                                          421ns ± 1%
Store/IterateParallel-8-2                                                        483ns ± 2%
Store/IterateParallel-8-4                                                        532ns ± 6%
Store/IterateParallel-16                                                         573ns ± 1%
Store/IterateParallel-16-2                                                       504ns ± 1%
Store/IterateParallel-16-4                                                       567ns ± 3%
Store/IterateParallel-32                                                         848ns ± 1%
Store/IterateParallel-32-2                                                       591ns ± 2%
Store/IterateParallel-32-4                                                       611ns ± 1%
Store/IterateParallel-64                                                        1.41µs ± 3%
Store/IterateParallel-64-2                                                       872ns ± 2%
Store/IterateParallel-64-4                                                       876ns ± 0%
Store/IterateParallel-128                                                       2.53µs ± 2%
Store/IterateParallel-128-2                                                     1.42µs ± 3%
Store/IterateParallel-128-4                                                     1.46µs ± 4%
Store/IterateParallel-256                                                       4.78µs ± 2%
Store/IterateParallel-256-2                                                     2.57µs ± 2%
Store/IterateParallel-256-4                                                     2.61µs ± 1%
Store/IterateParallel-512                                                       9.54µs ± 1%
Store/IterateParallel-512-2                                                     4.95µs ± 2%
Store/IterateParallel-512-4                                                     4.90µs ± 2%
Store/IterateParallel-1024                                                      18.4µs ± 1%
Store/IterateParallel-1024-2                                                    9.41µs ± 1%
Store/IterateParallel-1024-4                                                    9.44µs ± 1%
Store/IterateWithGc-1                                                           1.90µs ± 1%
Store/IterateWithGc-1-2                                                         1.88µs ± 1%
Store/IterateWithGc-1-4                                                         1.90µs ± 0%
Store/IterateWithGc-2                                                           1.93µs ± 0%
Store/IterateWithGc-2-2                                                         1.91µs ± 1%
Store/IterateWithGc-2-4                                                         1.94µs ± 0%
Store/IterateWithGc-4                                                           2.00µs ± 2%
Store/IterateWithGc-4-2                                                         2.00µs ± 0%
Store/IterateWithGc-4-4                                                         2.02µs ± 0%
Store/IterateWithGc-8                                                           2.11µs ± 1%
Store/IterateWithGc-8-2                                                         2.09µs ± 0%
Store/IterateWithGc-8-4                                                         2.12µs ± 1%
Store/IterateWithGc-16                                                          2.47µs ± 0%
Store/IterateWithGc-16-2                                                        2.44µs ± 1%
Store/IterateWithGc-16-4                                                        2.49µs ± 1%
Store/IterateWithGc-32                                                          3.12µs ± 1%
Store/IterateWithGc-32-2                                                        3.04µs ± 1%
Store/IterateWithGc-32-4                                                        3.12µs ± 1%
Store/IterateWithGc-64                                                          4.58µs ± 1%
Store/IterateWithGc-64-2                                                        4.39µs ± 2%
Store/IterateWithGc-64-4                                                        4.35µs ± 3%
Store/IterateWithGc-128                                                         7.06µs ± 4%
Store/IterateWithGc-128-2                                                       6.94µs ± 2%
Store/IterateWithGc-128-4                                                       7.08µs ± 3%
Store/IterateWithGc-256                                                         12.4µs ± 4%
Store/IterateWithGc-256-2                                                       12.0µs ± 2%
Store/IterateWithGc-256-4                                                       12.0µs ± 5%
Store/IterateWithGc-512                                                         22.5µs ± 1%
Store/IterateWithGc-512-2                                                       21.9µs ± 1%
Store/IterateWithGc-512-4                                                       22.2µs ± 1%
Store/IterateWithGc-1024                                                        41.4µs ± 1%
Store/IterateWithGc-1024-2                                                      40.9µs ± 1%
Store/IterateWithGc-1024-4                                                      41.4µs ± 1%
Store/IterateWithGcParallel-1                                                    343ns ± 1%
Store/IterateWithGcParallel-1-2                                                  376ns ± 2%
Store/IterateWithGcParallel-1-4                                                  419ns ± 6%
Store/IterateWithGcParallel-2                                                    355ns ± 1%
Store/IterateWithGcParallel-2-2                                                  392ns ± 1%
Store/IterateWithGcParallel-2-4                                                  435ns ± 6%
Store/IterateWithGcParallel-4                                                    382ns ± 0%
Store/IterateWithGcParallel-4-2                                                  429ns ± 1%
Store/IterateWithGcParallel-4-4                                                  519ns ± 3%
Store/IterateWithGcParallel-8                                                    420ns ± 1%
Store/IterateWithGcParallel-8-2                                                  478ns ± 2%
Store/IterateWithGcParallel-8-4                                                  523ns ± 8%
Store/IterateWithGcParallel-16                                                   582ns ± 1%
Store/IterateWithGcParallel-16-2                                                 515ns ± 4%
Store/IterateWithGcParallel-16-4                                                 568ns ± 4%
Store/IterateWithGcParallel-32                                                   843ns ± 2%
Store/IterateWithGcParallel-32-2                                                 601ns ± 1%
Store/IterateWithGcParallel-32-4                                                 614ns ± 0%
Store/IterateWithGcParallel-64                                                  1.42µs ± 1%
Store/IterateWithGcParallel-64-2                                                 871ns ± 1%
Store/IterateWithGcParallel-64-4                                                 877ns ± 1%
Store/IterateWithGcParallel-128                                                 2.54µs ± 1%
Store/IterateWithGcParallel-128-2                                               1.45µs ± 3%
Store/IterateWithGcParallel-128-4                                               1.45µs ± 3%
Store/IterateWithGcParallel-256                                                 4.84µs ± 3%
Store/IterateWithGcParallel-256-2                                               2.59µs ± 4%
Store/IterateWithGcParallel-256-4                                               2.59µs ± 2%
Store/IterateWithGcParallel-512                                                 9.46µs ± 2%
Store/IterateWithGcParallel-512-2                                               4.94µs ± 1%
Store/IterateWithGcParallel-512-4                                               4.91µs ± 1%
Store/IterateWithGcParallel-1024                                                18.3µs ± 1%
Store/IterateWithGcParallel-1024-2                                              9.43µs ± 2%
Store/IterateWithGcParallel-1024-4                                              9.40µs ± 1%
Metric/GetDatum-2                                                               1.32µs ± 1%
Metric/GetDatum-2-2                                                             1.22µs ±19%
Metric/GetDatum-2-4                                                             1.28µs ± 8%
Metric/GetDatum-4                                                               2.33µs ±13%
Metric/GetDatum-4-2                                                             2.15µs ±11%
Metric/GetDatum-4-4                                                             2.46µs ±17%
Metric/GetDatum-8                                                               4.43µs ± 5%
Metric/GetDatum-8-2                                                             4.01µs ±11%
Metric/GetDatum-8-4                                                             4.52µs ±14%
Metric/GetDatum-16                                                              8.94µs ± 9%
Metric/GetDatum-16-2                                                            8.32µs ±10%
Metric/GetDatum-16-4                                                            9.38µs ± 7%
Metric/GetDatum-32                                                              18.5µs ± 2%
Metric/GetDatum-32-2                                                            16.7µs ± 6%
Metric/GetDatum-32-4                                                            18.5µs ± 3%
Metric/GetDatum-64                                                              38.6µs ± 5%
Metric/GetDatum-64-2                                                            34.3µs ± 4%
Metric/GetDatum-64-4                                                            37.7µs ± 4%
Metric/GetDatum-128                                                             82.6µs ± 3%
Metric/GetDatum-128-2                                                           73.9µs ± 2%
Metric/GetDatum-128-4                                                           81.5µs ± 2%
Metric/GetDatum-256                                                              183µs ± 2%
Metric/GetDatum-256-2                                                            165µs ± 2%
Metric/GetDatum-256-4                                                            179µs ± 2%
Metric/GetDatum-512                                                              387µs ± 1%
Metric/GetDatum-512-2                                                            351µs ± 0%
Metric/GetDatum-512-4                                                            385µs ± 3%
Metric/GetDatum-1024                                                             788µs ± 1%
Metric/GetDatum-1024-2                                                           748µs ± 1%
Metric/GetDatum-1024-4                                                           817µs ± 2%
Metric/GetDatum-2048                                                            1.69ms ± 1%
Metric/GetDatum-2048-2                                                          1.42ms ± 1%
Metric/GetDatum-2048-4                                                          1.60ms ± 3%
Metric/GetDatum-4096                                                            3.54ms ± 2%
Metric/GetDatum-4096-2                                                          2.88ms ± 1%
Metric/GetDatum-4096-4                                                          3.20ms ± 1%
Metric/GetDatum-8192                                                            8.21ms ± 1%
Metric/GetDatum-8192-2                                                          6.43ms ± 5%
Metric/GetDatum-8192-4                                                          6.91ms ± 1%
Metric/GetDatumParallel-2                                                       1.31µs ± 4%
Metric/GetDatumParallel-2-2                                                     1.40µs ±21%
Metric/GetDatumParallel-2-4                                                     1.34µs ± 8%
Metric/GetDatumParallel-4                                                       2.41µs ±23%
Metric/GetDatumParallel-4-2                                                     2.42µs ±14%
Metric/GetDatumParallel-4-4                                                     2.57µs ±10%
Metric/GetDatumParallel-8                                                       4.40µs ±12%
Metric/GetDatumParallel-8-2                                                     4.52µs ± 8%
Metric/GetDatumParallel-8-4                                                     5.23µs ± 9%
Metric/GetDatumParallel-16                                                      9.50µs ±12%
Metric/GetDatumParallel-16-2                                                    9.79µs ±10%
Metric/GetDatumParallel-16-4                                                    10.2µs ± 5%
Metric/GetDatumParallel-32                                                      18.7µs ± 3%
Metric/GetDatumParallel-32-2                                                    18.9µs ± 2%
Metric/GetDatumParallel-32-4                                                    20.9µs ± 1%
Metric/GetDatumParallel-64                                                      38.0µs ± 1%
Metric/GetDatumParallel-64-2                                                    39.4µs ± 5%
Metric/GetDatumParallel-64-4                                                    42.3µs ± 2%
Metric/GetDatumParallel-128                                                     85.0µs ± 2%
Metric/GetDatumParallel-128-2                                                   85.1µs ± 2%
Metric/GetDatumParallel-128-4                                                   92.8µs ± 3%
Metric/GetDatumParallel-256                                                      184µs ± 1%
Metric/GetDatumParallel-256-2                                                    187µs ± 2%
Metric/GetDatumParallel-256-4                                                    203µs ± 1%
Metric/GetDatumParallel-512                                                      391µs ± 1%
Metric/GetDatumParallel-512-2                                                    402µs ± 2%
Metric/GetDatumParallel-512-4                                                    431µs ± 4%
Metric/GetDatumParallel-1024                                                     802µs ± 2%
Metric/GetDatumParallel-1024-2                                                   846µs ± 1%
Metric/GetDatumParallel-1024-4                                                   876µs ± 1%
Metric/GetDatumParallel-2048                                                    1.60ms ± 1%
Metric/GetDatumParallel-2048-2                                                  1.60ms ± 1%
Metric/GetDatumParallel-2048-4                                                  1.74ms ± 2%
Metric/GetDatumParallel-4096                                                    3.52ms ± 2%
Metric/GetDatumParallel-4096-2                                                  3.20ms ± 5%
Metric/GetDatumParallel-4096-4                                                  3.69ms ± 5%
Metric/GetDatumParallel-8192                                                    8.34ms ± 4%
Metric/GetDatumParallel-8192-2                                                  7.23ms ± 6%
Metric/GetDatumParallel-8192-4                                                  8.48ms ± 4%
pkg:github.com/google/mtail/internal/metrics/datum goos:linux goarch:amd64
IncrementScalarInt                                                              17.4ns ± 0%
IncrementScalarInt-2                                                            17.4ns ± 0%
IncrementScalarInt-4                                                            17.4ns ± 0%
DecrementScalarInt                                                              17.4ns ± 0%
DecrementScalarInt-2                                                            17.4ns ± 0%
DecrementScalarInt-4                                                            17.4ns ± 0%
pkg:github.com/google/mtail/internal/mtail goos:linux goarch:amd64
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log                            3.72ms ± 1%
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log-2                          4.05ms ± 6%
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log-4                          3.85ms ± 1%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log                         1.41ms ± 0%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log-2                       1.50ms ± 1%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log-4                       1.46ms ± 1%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log                    1.01s ± 1%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log-2                  1.05s ± 0%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log-4                  1.06s ± 1%
Program/examples/ntpd.mtail_on_testdata/ntp4                                     245µs ± 3%
Program/examples/ntpd.mtail_on_testdata/ntp4-2                                   245µs ± 1%
Program/examples/ntpd.mtail_on_testdata/ntp4-4                                   245µs ± 1%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats               69.5µs ± 1%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats-2             54.3µs ± 1%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats-4             57.2µs ± 2%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log           120µs ± 1%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log-2         102µs ± 0%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log-4         110µs ± 1%
Program/examples/apache_common.mtail_on_testdata/apache-common.log               104µs ± 1%
Program/examples/apache_common.mtail_on_testdata/apache-common.log-2            95.1µs ± 1%
Program/examples/apache_common.mtail_on_testdata/apache-common.log-4             100µs ± 1%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log                             711µs ± 1%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log-2                           724µs ± 1%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log-4                           710µs ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog                         113µs ± 1%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog-2                       102µs ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog-4                       104µs ± 2%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log                  129µs ± 1%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log-2                121µs ± 1%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log-4                121µs ± 4%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log       491µs ± 1%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log-2     496µs ± 0%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log-4     493µs ± 1%

name                                                                          speed
pkg:github.com/google/mtail/internal/metrics goos:linux goarch:amd64
Store/Add-1
Store/Add-1-2
Store/Add-1-4
Store/Add-2
Store/Add-2-2
Store/Add-2-4
Store/Add-4
Store/Add-4-2
Store/Add-4-4
Store/Add-8
Store/Add-8-2
Store/Add-8-4
Store/Add-16
Store/Add-16-2
Store/Add-16-4
Store/Add-32
Store/Add-32-2
Store/Add-32-4
Store/Add-64
Store/Add-64-2
Store/Add-64-4
Store/Add-128
Store/Add-128-2
Store/Add-128-4
Store/Add-256
Store/Add-256-2
Store/Add-256-4
Store/Add-512
Store/Add-512-2
Store/Add-512-4
Store/Add-1024
Store/Add-1024-2
Store/Add-1024-4
Store/AddParallel-1
Store/AddParallel-1-2
Store/AddParallel-1-4
Store/AddParallel-2
Store/AddParallel-2-2
Store/AddParallel-2-4
Store/AddParallel-4
Store/AddParallel-4-2
Store/AddParallel-4-4
Store/AddParallel-8
Store/AddParallel-8-2
Store/AddParallel-8-4
Store/AddParallel-16
Store/AddParallel-16-2
Store/AddParallel-16-4
Store/AddParallel-32
Store/AddParallel-32-2
Store/AddParallel-32-4
Store/AddParallel-64
Store/AddParallel-64-2
Store/AddParallel-64-4
Store/AddParallel-128
Store/AddParallel-128-2
Store/AddParallel-128-4
Store/AddParallel-256
Store/AddParallel-256-2
Store/AddParallel-256-4
Store/AddParallel-512
Store/AddParallel-512-2
Store/AddParallel-512-4
Store/AddParallel-1024
Store/AddParallel-1024-2
Store/AddParallel-1024-4
Store/AddWithGc-1
Store/AddWithGc-1-2
Store/AddWithGc-1-4
Store/AddWithGc-2
Store/AddWithGc-2-2
Store/AddWithGc-2-4
Store/AddWithGc-4
Store/AddWithGc-4-2
Store/AddWithGc-4-4
Store/AddWithGc-8
Store/AddWithGc-8-2
Store/AddWithGc-8-4
Store/AddWithGc-16
Store/AddWithGc-16-2
Store/AddWithGc-16-4
Store/AddWithGc-32
Store/AddWithGc-32-2
Store/AddWithGc-32-4
Store/AddWithGc-64
Store/AddWithGc-64-2
Store/AddWithGc-64-4
Store/AddWithGc-128
Store/AddWithGc-128-2
Store/AddWithGc-128-4
Store/AddWithGc-256
Store/AddWithGc-256-2
Store/AddWithGc-256-4
Store/AddWithGc-512
Store/AddWithGc-512-2
Store/AddWithGc-512-4
Store/AddWithGc-1024
Store/AddWithGc-1024-2
Store/AddWithGc-1024-4
Store/AddWithGcParallel-1
Store/AddWithGcParallel-1-2
Store/AddWithGcParallel-1-4
Store/AddWithGcParallel-2
Store/AddWithGcParallel-2-2
Store/AddWithGcParallel-2-4
Store/AddWithGcParallel-4
Store/AddWithGcParallel-4-2
Store/AddWithGcParallel-4-4
Store/AddWithGcParallel-8
Store/AddWithGcParallel-8-2
Store/AddWithGcParallel-8-4
Store/AddWithGcParallel-16
Store/AddWithGcParallel-16-2
Store/AddWithGcParallel-16-4
Store/AddWithGcParallel-32
Store/AddWithGcParallel-32-2
Store/AddWithGcParallel-32-4
Store/AddWithGcParallel-64
Store/AddWithGcParallel-64-2
Store/AddWithGcParallel-64-4
Store/AddWithGcParallel-128
Store/AddWithGcParallel-128-2
Store/AddWithGcParallel-128-4
Store/AddWithGcParallel-256
Store/AddWithGcParallel-256-2
Store/AddWithGcParallel-256-4
Store/AddWithGcParallel-512
Store/AddWithGcParallel-512-2
Store/AddWithGcParallel-512-4
Store/AddWithGcParallel-1024
Store/AddWithGcParallel-1024-2
Store/AddWithGcParallel-1024-4
Store/Iterate-1
Store/Iterate-1-2
Store/Iterate-1-4
Store/Iterate-2
Store/Iterate-2-2
Store/Iterate-2-4
Store/Iterate-4
Store/Iterate-4-2
Store/Iterate-4-4
Store/Iterate-8
Store/Iterate-8-2
Store/Iterate-8-4
Store/Iterate-16
Store/Iterate-16-2
Store/Iterate-16-4
Store/Iterate-32
Store/Iterate-32-2
Store/Iterate-32-4
Store/Iterate-64
Store/Iterate-64-2
Store/Iterate-64-4
Store/Iterate-128
Store/Iterate-128-2
Store/Iterate-128-4
Store/Iterate-256
Store/Iterate-256-2
Store/Iterate-256-4
Store/Iterate-512
Store/Iterate-512-2
Store/Iterate-512-4
Store/Iterate-1024
Store/Iterate-1024-2
Store/Iterate-1024-4
Store/IterateParallel-1
Store/IterateParallel-1-2
Store/IterateParallel-1-4
Store/IterateParallel-2
Store/IterateParallel-2-2
Store/IterateParallel-2-4
Store/IterateParallel-4
Store/IterateParallel-4-2
Store/IterateParallel-4-4
Store/IterateParallel-8
Store/IterateParallel-8-2
Store/IterateParallel-8-4
Store/IterateParallel-16
Store/IterateParallel-16-2
Store/IterateParallel-16-4
Store/IterateParallel-32
Store/IterateParallel-32-2
Store/IterateParallel-32-4
Store/IterateParallel-64
Store/IterateParallel-64-2
Store/IterateParallel-64-4
Store/IterateParallel-128
Store/IterateParallel-128-2
Store/IterateParallel-128-4
Store/IterateParallel-256
Store/IterateParallel-256-2
Store/IterateParallel-256-4
Store/IterateParallel-512
Store/IterateParallel-512-2
Store/IterateParallel-512-4
Store/IterateParallel-1024
Store/IterateParallel-1024-2
Store/IterateParallel-1024-4
Store/IterateWithGc-1
Store/IterateWithGc-1-2
Store/IterateWithGc-1-4
Store/IterateWithGc-2
Store/IterateWithGc-2-2
Store/IterateWithGc-2-4
Store/IterateWithGc-4
Store/IterateWithGc-4-2
Store/IterateWithGc-4-4
Store/IterateWithGc-8
Store/IterateWithGc-8-2
Store/IterateWithGc-8-4
Store/IterateWithGc-16
Store/IterateWithGc-16-2
Store/IterateWithGc-16-4
Store/IterateWithGc-32
Store/IterateWithGc-32-2
Store/IterateWithGc-32-4
Store/IterateWithGc-64
Store/IterateWithGc-64-2
Store/IterateWithGc-64-4
Store/IterateWithGc-128
Store/IterateWithGc-128-2
Store/IterateWithGc-128-4
Store/IterateWithGc-256
Store/IterateWithGc-256-2
Store/IterateWithGc-256-4
Store/IterateWithGc-512
Store/IterateWithGc-512-2
Store/IterateWithGc-512-4
Store/IterateWithGc-1024
Store/IterateWithGc-1024-2
Store/IterateWithGc-1024-4
Store/IterateWithGcParallel-1
Store/IterateWithGcParallel-1-2
Store/IterateWithGcParallel-1-4
Store/IterateWithGcParallel-2
Store/IterateWithGcParallel-2-2
Store/IterateWithGcParallel-2-4
Store/IterateWithGcParallel-4
Store/IterateWithGcParallel-4-2
Store/IterateWithGcParallel-4-4
Store/IterateWithGcParallel-8
Store/IterateWithGcParallel-8-2
Store/IterateWithGcParallel-8-4
Store/IterateWithGcParallel-16
Store/IterateWithGcParallel-16-2
Store/IterateWithGcParallel-16-4
Store/IterateWithGcParallel-32
Store/IterateWithGcParallel-32-2
Store/IterateWithGcParallel-32-4
Store/IterateWithGcParallel-64
Store/IterateWithGcParallel-64-2
Store/IterateWithGcParallel-64-4
Store/IterateWithGcParallel-128
Store/IterateWithGcParallel-128-2
Store/IterateWithGcParallel-128-4
Store/IterateWithGcParallel-256
Store/IterateWithGcParallel-256-2
Store/IterateWithGcParallel-256-4
Store/IterateWithGcParallel-512
Store/IterateWithGcParallel-512-2
Store/IterateWithGcParallel-512-4
Store/IterateWithGcParallel-1024
Store/IterateWithGcParallel-1024-2
Store/IterateWithGcParallel-1024-4
Metric/GetDatum-2
Metric/GetDatum-2-2
Metric/GetDatum-2-4
Metric/GetDatum-4
Metric/GetDatum-4-2
Metric/GetDatum-4-4
Metric/GetDatum-8
Metric/GetDatum-8-2
Metric/GetDatum-8-4
Metric/GetDatum-16
Metric/GetDatum-16-2
Metric/GetDatum-16-4
Metric/GetDatum-32
Metric/GetDatum-32-2
Metric/GetDatum-32-4
Metric/GetDatum-64
Metric/GetDatum-64-2
Metric/GetDatum-64-4
Metric/GetDatum-128
Metric/GetDatum-128-2
Metric/GetDatum-128-4
Metric/GetDatum-256
Metric/GetDatum-256-2
Metric/GetDatum-256-4
Metric/GetDatum-512
Metric/GetDatum-512-2
Metric/GetDatum-512-4
Metric/GetDatum-1024
Metric/GetDatum-1024-2
Metric/GetDatum-1024-4
Metric/GetDatum-2048
Metric/GetDatum-2048-2
Metric/GetDatum-2048-4
Metric/GetDatum-4096
Metric/GetDatum-4096-2
Metric/GetDatum-4096-4
Metric/GetDatum-8192
Metric/GetDatum-8192-2
Metric/GetDatum-8192-4
Metric/GetDatumParallel-2
Metric/GetDatumParallel-2-2
Metric/GetDatumParallel-2-4
Metric/GetDatumParallel-4
Metric/GetDatumParallel-4-2
Metric/GetDatumParallel-4-4
Metric/GetDatumParallel-8
Metric/GetDatumParallel-8-2
Metric/GetDatumParallel-8-4
Metric/GetDatumParallel-16
Metric/GetDatumParallel-16-2
Metric/GetDatumParallel-16-4
Metric/GetDatumParallel-32
Metric/GetDatumParallel-32-2
Metric/GetDatumParallel-32-4
Metric/GetDatumParallel-64
Metric/GetDatumParallel-64-2
Metric/GetDatumParallel-64-4
Metric/GetDatumParallel-128
Metric/GetDatumParallel-128-2
Metric/GetDatumParallel-128-4
Metric/GetDatumParallel-256
Metric/GetDatumParallel-256-2
Metric/GetDatumParallel-256-4
Metric/GetDatumParallel-512
Metric/GetDatumParallel-512-2
Metric/GetDatumParallel-512-4
Metric/GetDatumParallel-1024
Metric/GetDatumParallel-1024-2
Metric/GetDatumParallel-1024-4
Metric/GetDatumParallel-2048
Metric/GetDatumParallel-2048-2
Metric/GetDatumParallel-2048-4
Metric/GetDatumParallel-4096
Metric/GetDatumParallel-4096-2
Metric/GetDatumParallel-4096-4
Metric/GetDatumParallel-8192
Metric/GetDatumParallel-8192-2
Metric/GetDatumParallel-8192-4
pkg:github.com/google/mtail/internal/metrics/datum goos:linux goarch:amd64
IncrementScalarInt
IncrementScalarInt-2
IncrementScalarInt-4
DecrementScalarInt
DecrementScalarInt-2
DecrementScalarInt-4
pkg:github.com/google/mtail/internal/mtail goos:linux goarch:amd64
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log                          1.62GB/s ± 1%
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log-2                        1.36GB/s ± 7%
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log-4                        1.48GB/s ± 1%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log                       12.2GB/s ± 1%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log-2                     10.7GB/s ± 2%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log-4                     11.4GB/s ± 2%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log                 5.38MB/s ± 1%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log-2               5.15MB/s ± 0%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log-4               5.13MB/s ± 1%
Program/examples/ntpd.mtail_on_testdata/ntp4                                  21.0GB/s ± 2%
Program/examples/ntpd.mtail_on_testdata/ntp4-2                                20.7GB/s ± 2%
Program/examples/ntpd.mtail_on_testdata/ntp4-4                                20.4GB/s ± 2%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats             14.7GB/s ± 2%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats-2           23.2GB/s ± 1%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats-4           20.9GB/s ± 2%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log        52.4GB/s ± 1%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log-2      62.0GB/s ± 0%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log-4      57.5GB/s ± 1%
Program/examples/apache_common.mtail_on_testdata/apache-common.log            28.6GB/s ± 1%
Program/examples/apache_common.mtail_on_testdata/apache-common.log-2          39.4GB/s ± 1%
Program/examples/apache_common.mtail_on_testdata/apache-common.log-4          32.6GB/s ±30%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log                          28.8GB/s ± 1%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log-2                        27.6GB/s ± 3%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log-4                        28.1GB/s ± 8%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog                      99.3GB/s ± 1%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog-2                     110GB/s ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog-4                     108GB/s ± 2%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log                188GB/s ± 6%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log-2              211GB/s ± 1%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log-4              213GB/s ± 3%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log    6.69GB/s ± 0%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log-2  6.48GB/s ± 2%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log-4  6.60GB/s ± 3%

name                                                                          alloc/op
pkg:github.com/google/mtail/internal/metrics goos:linux goarch:amd64
Store/Add-1
Store/Add-1-2
Store/Add-1-4
Store/Add-2
Store/Add-2-2
Store/Add-2-4
Store/Add-4
Store/Add-4-2
Store/Add-4-4
Store/Add-8
Store/Add-8-2
Store/Add-8-4
Store/Add-16
Store/Add-16-2
Store/Add-16-4
Store/Add-32
Store/Add-32-2
Store/Add-32-4
Store/Add-64
Store/Add-64-2
Store/Add-64-4
Store/Add-128
Store/Add-128-2
Store/Add-128-4
Store/Add-256
Store/Add-256-2
Store/Add-256-4
Store/Add-512
Store/Add-512-2
Store/Add-512-4
Store/Add-1024
Store/Add-1024-2
Store/Add-1024-4
Store/AddParallel-1
Store/AddParallel-1-2
Store/AddParallel-1-4
Store/AddParallel-2
Store/AddParallel-2-2
Store/AddParallel-2-4
Store/AddParallel-4
Store/AddParallel-4-2
Store/AddParallel-4-4
Store/AddParallel-8
Store/AddParallel-8-2
Store/AddParallel-8-4
Store/AddParallel-16
Store/AddParallel-16-2
Store/AddParallel-16-4
Store/AddParallel-32
Store/AddParallel-32-2
Store/AddParallel-32-4
Store/AddParallel-64
Store/AddParallel-64-2
Store/AddParallel-64-4
Store/AddParallel-128
Store/AddParallel-128-2
Store/AddParallel-128-4
Store/AddParallel-256
Store/AddParallel-256-2
Store/AddParallel-256-4
Store/AddParallel-512
Store/AddParallel-512-2
Store/AddParallel-512-4
Store/AddParallel-1024
Store/AddParallel-1024-2
Store/AddParallel-1024-4
Store/AddWithGc-1
Store/AddWithGc-1-2
Store/AddWithGc-1-4
Store/AddWithGc-2
Store/AddWithGc-2-2
Store/AddWithGc-2-4
Store/AddWithGc-4
Store/AddWithGc-4-2
Store/AddWithGc-4-4
Store/AddWithGc-8
Store/AddWithGc-8-2
Store/AddWithGc-8-4
Store/AddWithGc-16
Store/AddWithGc-16-2
Store/AddWithGc-16-4
Store/AddWithGc-32
Store/AddWithGc-32-2
Store/AddWithGc-32-4
Store/AddWithGc-64
Store/AddWithGc-64-2
Store/AddWithGc-64-4
Store/AddWithGc-128
Store/AddWithGc-128-2
Store/AddWithGc-128-4
Store/AddWithGc-256
Store/AddWithGc-256-2
Store/AddWithGc-256-4
Store/AddWithGc-512
Store/AddWithGc-512-2
Store/AddWithGc-512-4
Store/AddWithGc-1024
Store/AddWithGc-1024-2
Store/AddWithGc-1024-4
Store/AddWithGcParallel-1
Store/AddWithGcParallel-1-2
Store/AddWithGcParallel-1-4
Store/AddWithGcParallel-2
Store/AddWithGcParallel-2-2
Store/AddWithGcParallel-2-4
Store/AddWithGcParallel-4
Store/AddWithGcParallel-4-2
Store/AddWithGcParallel-4-4
Store/AddWithGcParallel-8
Store/AddWithGcParallel-8-2
Store/AddWithGcParallel-8-4
Store/AddWithGcParallel-16
Store/AddWithGcParallel-16-2
Store/AddWithGcParallel-16-4
Store/AddWithGcParallel-32
Store/AddWithGcParallel-32-2
Store/AddWithGcParallel-32-4
Store/AddWithGcParallel-64
Store/AddWithGcParallel-64-2
Store/AddWithGcParallel-64-4
Store/AddWithGcParallel-128
Store/AddWithGcParallel-128-2
Store/AddWithGcParallel-128-4
Store/AddWithGcParallel-256
Store/AddWithGcParallel-256-2
Store/AddWithGcParallel-256-4
Store/AddWithGcParallel-512
Store/AddWithGcParallel-512-2
Store/AddWithGcParallel-512-4
Store/AddWithGcParallel-1024
Store/AddWithGcParallel-1024-2
Store/AddWithGcParallel-1024-4
Store/Iterate-1
Store/Iterate-1-2
Store/Iterate-1-4
Store/Iterate-2
Store/Iterate-2-2
Store/Iterate-2-4
Store/Iterate-4
Store/Iterate-4-2
Store/Iterate-4-4
Store/Iterate-8
Store/Iterate-8-2
Store/Iterate-8-4
Store/Iterate-16
Store/Iterate-16-2
Store/Iterate-16-4
Store/Iterate-32
Store/Iterate-32-2
Store/Iterate-32-4
Store/Iterate-64
Store/Iterate-64-2
Store/Iterate-64-4
Store/Iterate-128
Store/Iterate-128-2
Store/Iterate-128-4
Store/Iterate-256
Store/Iterate-256-2
Store/Iterate-256-4
Store/Iterate-512
Store/Iterate-512-2
Store/Iterate-512-4
Store/Iterate-1024
Store/Iterate-1024-2
Store/Iterate-1024-4
Store/IterateParallel-1
Store/IterateParallel-1-2
Store/IterateParallel-1-4
Store/IterateParallel-2
Store/IterateParallel-2-2
Store/IterateParallel-2-4
Store/IterateParallel-4
Store/IterateParallel-4-2
Store/IterateParallel-4-4
Store/IterateParallel-8
Store/IterateParallel-8-2
Store/IterateParallel-8-4
Store/IterateParallel-16
Store/IterateParallel-16-2
Store/IterateParallel-16-4
Store/IterateParallel-32
Store/IterateParallel-32-2
Store/IterateParallel-32-4
Store/IterateParallel-64
Store/IterateParallel-64-2
Store/IterateParallel-64-4
Store/IterateParallel-128
Store/IterateParallel-128-2
Store/IterateParallel-128-4
Store/IterateParallel-256
Store/IterateParallel-256-2
Store/IterateParallel-256-4
Store/IterateParallel-512
Store/IterateParallel-512-2
Store/IterateParallel-512-4
Store/IterateParallel-1024
Store/IterateParallel-1024-2
Store/IterateParallel-1024-4
Store/IterateWithGc-1
Store/IterateWithGc-1-2
Store/IterateWithGc-1-4
Store/IterateWithGc-2
Store/IterateWithGc-2-2
Store/IterateWithGc-2-4
Store/IterateWithGc-4
Store/IterateWithGc-4-2
Store/IterateWithGc-4-4
Store/IterateWithGc-8
Store/IterateWithGc-8-2
Store/IterateWithGc-8-4
Store/IterateWithGc-16
Store/IterateWithGc-16-2
Store/IterateWithGc-16-4
Store/IterateWithGc-32
Store/IterateWithGc-32-2
Store/IterateWithGc-32-4
Store/IterateWithGc-64
Store/IterateWithGc-64-2
Store/IterateWithGc-64-4
Store/IterateWithGc-128
Store/IterateWithGc-128-2
Store/IterateWithGc-128-4
Store/IterateWithGc-256
Store/IterateWithGc-256-2
Store/IterateWithGc-256-4
Store/IterateWithGc-512
Store/IterateWithGc-512-2
Store/IterateWithGc-512-4
Store/IterateWithGc-1024
Store/IterateWithGc-1024-2
Store/IterateWithGc-1024-4
Store/IterateWithGcParallel-1
Store/IterateWithGcParallel-1-2
Store/IterateWithGcParallel-1-4
Store/IterateWithGcParallel-2
Store/IterateWithGcParallel-2-2
Store/IterateWithGcParallel-2-4
Store/IterateWithGcParallel-4
Store/IterateWithGcParallel-4-2
Store/IterateWithGcParallel-4-4
Store/IterateWithGcParallel-8
Store/IterateWithGcParallel-8-2
Store/IterateWithGcParallel-8-4
Store/IterateWithGcParallel-16
Store/IterateWithGcParallel-16-2
Store/IterateWithGcParallel-16-4
Store/IterateWithGcParallel-32
Store/IterateWithGcParallel-32-2
Store/IterateWithGcParallel-32-4
Store/IterateWithGcParallel-64
Store/IterateWithGcParallel-64-2
Store/IterateWithGcParallel-64-4
Store/IterateWithGcParallel-128
Store/IterateWithGcParallel-128-2
Store/IterateWithGcParallel-128-4
Store/IterateWithGcParallel-256
Store/IterateWithGcParallel-256-2
Store/IterateWithGcParallel-256-4
Store/IterateWithGcParallel-512
Store/IterateWithGcParallel-512-2
Store/IterateWithGcParallel-512-4
Store/IterateWithGcParallel-1024
Store/IterateWithGcParallel-1024-2
Store/IterateWithGcParallel-1024-4
Metric/GetDatum-2
Metric/GetDatum-2-2
Metric/GetDatum-2-4
Metric/GetDatum-4
Metric/GetDatum-4-2
Metric/GetDatum-4-4
Metric/GetDatum-8
Metric/GetDatum-8-2
Metric/GetDatum-8-4
Metric/GetDatum-16
Metric/GetDatum-16-2
Metric/GetDatum-16-4
Metric/GetDatum-32
Metric/GetDatum-32-2
Metric/GetDatum-32-4
Metric/GetDatum-64
Metric/GetDatum-64-2
Metric/GetDatum-64-4
Metric/GetDatum-128
Metric/GetDatum-128-2
Metric/GetDatum-128-4
Metric/GetDatum-256
Metric/GetDatum-256-2
Metric/GetDatum-256-4
Metric/GetDatum-512
Metric/GetDatum-512-2
Metric/GetDatum-512-4
Metric/GetDatum-1024
Metric/GetDatum-1024-2
Metric/GetDatum-1024-4
Metric/GetDatum-2048
Metric/GetDatum-2048-2
Metric/GetDatum-2048-4
Metric/GetDatum-4096
Metric/GetDatum-4096-2
Metric/GetDatum-4096-4
Metric/GetDatum-8192
Metric/GetDatum-8192-2
Metric/GetDatum-8192-4
Metric/GetDatumParallel-2
Metric/GetDatumParallel-2-2
Metric/GetDatumParallel-2-4
Metric/GetDatumParallel-4
Metric/GetDatumParallel-4-2
Metric/GetDatumParallel-4-4
Metric/GetDatumParallel-8
Metric/GetDatumParallel-8-2
Metric/GetDatumParallel-8-4
Metric/GetDatumParallel-16
Metric/GetDatumParallel-16-2
Metric/GetDatumParallel-16-4
Metric/GetDatumParallel-32
Metric/GetDatumParallel-32-2
Metric/GetDatumParallel-32-4
Metric/GetDatumParallel-64
Metric/GetDatumParallel-64-2
Metric/GetDatumParallel-64-4
Metric/GetDatumParallel-128
Metric/GetDatumParallel-128-2
Metric/GetDatumParallel-128-4
Metric/GetDatumParallel-256
Metric/GetDatumParallel-256-2
Metric/GetDatumParallel-256-4
Metric/GetDatumParallel-512
Metric/GetDatumParallel-512-2
Metric/GetDatumParallel-512-4
Metric/GetDatumParallel-1024
Metric/GetDatumParallel-1024-2
Metric/GetDatumParallel-1024-4
Metric/GetDatumParallel-2048
Metric/GetDatumParallel-2048-2
Metric/GetDatumParallel-2048-4
Metric/GetDatumParallel-4096
Metric/GetDatumParallel-4096-2
Metric/GetDatumParallel-4096-4
Metric/GetDatumParallel-8192
Metric/GetDatumParallel-8192-2
Metric/GetDatumParallel-8192-4
pkg:github.com/google/mtail/internal/metrics/datum goos:linux goarch:amd64
IncrementScalarInt
IncrementScalarInt-2
IncrementScalarInt-4
DecrementScalarInt
DecrementScalarInt-2
DecrementScalarInt-4
pkg:github.com/google/mtail/internal/mtail goos:linux goarch:amd64
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log                             268kB ± 0%
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log-2                           270kB ± 0%
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log-4                           272kB ± 0%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log                          209kB ± 0%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log-2                        209kB ± 0%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log-4                        210kB ± 0%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log                    100MB ± 0%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log-2                  100MB ± 0%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log-4                  101MB ± 0%
Program/examples/ntpd.mtail_on_testdata/ntp4                                    52.3kB ± 0%
Program/examples/ntpd.mtail_on_testdata/ntp4-2                                  52.4kB ± 0%
Program/examples/ntpd.mtail_on_testdata/ntp4-4                                  52.8kB ± 0%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats               36.4kB ± 0%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats-2             36.4kB ± 0%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats-4             36.7kB ± 0%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log          44.6kB ± 0%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log-2        44.6kB ± 0%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log-4        45.0kB ± 0%
Program/examples/apache_common.mtail_on_testdata/apache-common.log              42.9kB ± 0%
Program/examples/apache_common.mtail_on_testdata/apache-common.log-2            42.9kB ± 0%
Program/examples/apache_common.mtail_on_testdata/apache-common.log-4            43.5kB ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log                             125kB ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log-2                           126kB ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log-4                           126kB ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog                        42.2kB ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog-2                      42.3kB ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog-4                      42.5kB ± 0%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log                 47.2kB ± 0%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log-2               47.2kB ± 0%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log-4               47.5kB ± 0%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log      79.4kB ± 0%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log-2    79.5kB ± 0%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log-4    80.0kB ± 0%

name                                                                          allocs/op
pkg:github.com/google/mtail/internal/metrics goos:linux goarch:amd64
Store/Add-1
Store/Add-1-2
Store/Add-1-4
Store/Add-2
Store/Add-2-2
Store/Add-2-4
Store/Add-4
Store/Add-4-2
Store/Add-4-4
Store/Add-8
Store/Add-8-2
Store/Add-8-4
Store/Add-16
Store/Add-16-2
Store/Add-16-4
Store/Add-32
Store/Add-32-2
Store/Add-32-4
Store/Add-64
Store/Add-64-2
Store/Add-64-4
Store/Add-128
Store/Add-128-2
Store/Add-128-4
Store/Add-256
Store/Add-256-2
Store/Add-256-4
Store/Add-512
Store/Add-512-2
Store/Add-512-4
Store/Add-1024
Store/Add-1024-2
Store/Add-1024-4
Store/AddParallel-1
Store/AddParallel-1-2
Store/AddParallel-1-4
Store/AddParallel-2
Store/AddParallel-2-2
Store/AddParallel-2-4
Store/AddParallel-4
Store/AddParallel-4-2
Store/AddParallel-4-4
Store/AddParallel-8
Store/AddParallel-8-2
Store/AddParallel-8-4
Store/AddParallel-16
Store/AddParallel-16-2
Store/AddParallel-16-4
Store/AddParallel-32
Store/AddParallel-32-2
Store/AddParallel-32-4
Store/AddParallel-64
Store/AddParallel-64-2
Store/AddParallel-64-4
Store/AddParallel-128
Store/AddParallel-128-2
Store/AddParallel-128-4
Store/AddParallel-256
Store/AddParallel-256-2
Store/AddParallel-256-4
Store/AddParallel-512
Store/AddParallel-512-2
Store/AddParallel-512-4
Store/AddParallel-1024
Store/AddParallel-1024-2
Store/AddParallel-1024-4
Store/AddWithGc-1
Store/AddWithGc-1-2
Store/AddWithGc-1-4
Store/AddWithGc-2
Store/AddWithGc-2-2
Store/AddWithGc-2-4
Store/AddWithGc-4
Store/AddWithGc-4-2
Store/AddWithGc-4-4
Store/AddWithGc-8
Store/AddWithGc-8-2
Store/AddWithGc-8-4
Store/AddWithGc-16
Store/AddWithGc-16-2
Store/AddWithGc-16-4
Store/AddWithGc-32
Store/AddWithGc-32-2
Store/AddWithGc-32-4
Store/AddWithGc-64
Store/AddWithGc-64-2
Store/AddWithGc-64-4
Store/AddWithGc-128
Store/AddWithGc-128-2
Store/AddWithGc-128-4
Store/AddWithGc-256
Store/AddWithGc-256-2
Store/AddWithGc-256-4
Store/AddWithGc-512
Store/AddWithGc-512-2
Store/AddWithGc-512-4
Store/AddWithGc-1024
Store/AddWithGc-1024-2
Store/AddWithGc-1024-4
Store/AddWithGcParallel-1
Store/AddWithGcParallel-1-2
Store/AddWithGcParallel-1-4
Store/AddWithGcParallel-2
Store/AddWithGcParallel-2-2
Store/AddWithGcParallel-2-4
Store/AddWithGcParallel-4
Store/AddWithGcParallel-4-2
Store/AddWithGcParallel-4-4
Store/AddWithGcParallel-8
Store/AddWithGcParallel-8-2
Store/AddWithGcParallel-8-4
Store/AddWithGcParallel-16
Store/AddWithGcParallel-16-2
Store/AddWithGcParallel-16-4
Store/AddWithGcParallel-32
Store/AddWithGcParallel-32-2
Store/AddWithGcParallel-32-4
Store/AddWithGcParallel-64
Store/AddWithGcParallel-64-2
Store/AddWithGcParallel-64-4
Store/AddWithGcParallel-128
Store/AddWithGcParallel-128-2
Store/AddWithGcParallel-128-4
Store/AddWithGcParallel-256
Store/AddWithGcParallel-256-2
Store/AddWithGcParallel-256-4
Store/AddWithGcParallel-512
Store/AddWithGcParallel-512-2
Store/AddWithGcParallel-512-4
Store/AddWithGcParallel-1024
Store/AddWithGcParallel-1024-2
Store/AddWithGcParallel-1024-4
Store/Iterate-1
Store/Iterate-1-2
Store/Iterate-1-4
Store/Iterate-2
Store/Iterate-2-2
Store/Iterate-2-4
Store/Iterate-4
Store/Iterate-4-2
Store/Iterate-4-4
Store/Iterate-8
Store/Iterate-8-2
Store/Iterate-8-4
Store/Iterate-16
Store/Iterate-16-2
Store/Iterate-16-4
Store/Iterate-32
Store/Iterate-32-2
Store/Iterate-32-4
Store/Iterate-64
Store/Iterate-64-2
Store/Iterate-64-4
Store/Iterate-128
Store/Iterate-128-2
Store/Iterate-128-4
Store/Iterate-256
Store/Iterate-256-2
Store/Iterate-256-4
Store/Iterate-512
Store/Iterate-512-2
Store/Iterate-512-4
Store/Iterate-1024
Store/Iterate-1024-2
Store/Iterate-1024-4
Store/IterateParallel-1
Store/IterateParallel-1-2
Store/IterateParallel-1-4
Store/IterateParallel-2
Store/IterateParallel-2-2
Store/IterateParallel-2-4
Store/IterateParallel-4
Store/IterateParallel-4-2
Store/IterateParallel-4-4
Store/IterateParallel-8
Store/IterateParallel-8-2
Store/IterateParallel-8-4
Store/IterateParallel-16
Store/IterateParallel-16-2
Store/IterateParallel-16-4
Store/IterateParallel-32
Store/IterateParallel-32-2
Store/IterateParallel-32-4
Store/IterateParallel-64
Store/IterateParallel-64-2
Store/IterateParallel-64-4
Store/IterateParallel-128
Store/IterateParallel-128-2
Store/IterateParallel-128-4
Store/IterateParallel-256
Store/IterateParallel-256-2
Store/IterateParallel-256-4
Store/IterateParallel-512
Store/IterateParallel-512-2
Store/IterateParallel-512-4
Store/IterateParallel-1024
Store/IterateParallel-1024-2
Store/IterateParallel-1024-4
Store/IterateWithGc-1
Store/IterateWithGc-1-2
Store/IterateWithGc-1-4
Store/IterateWithGc-2
Store/IterateWithGc-2-2
Store/IterateWithGc-2-4
Store/IterateWithGc-4
Store/IterateWithGc-4-2
Store/IterateWithGc-4-4
Store/IterateWithGc-8
Store/IterateWithGc-8-2
Store/IterateWithGc-8-4
Store/IterateWithGc-16
Store/IterateWithGc-16-2
Store/IterateWithGc-16-4
Store/IterateWithGc-32
Store/IterateWithGc-32-2
Store/IterateWithGc-32-4
Store/IterateWithGc-64
Store/IterateWithGc-64-2
Store/IterateWithGc-64-4
Store/IterateWithGc-128
Store/IterateWithGc-128-2
Store/IterateWithGc-128-4
Store/IterateWithGc-256
Store/IterateWithGc-256-2
Store/IterateWithGc-256-4
Store/IterateWithGc-512
Store/IterateWithGc-512-2
Store/IterateWithGc-512-4
Store/IterateWithGc-1024
Store/IterateWithGc-1024-2
Store/IterateWithGc-1024-4
Store/IterateWithGcParallel-1
Store/IterateWithGcParallel-1-2
Store/IterateWithGcParallel-1-4
Store/IterateWithGcParallel-2
Store/IterateWithGcParallel-2-2
Store/IterateWithGcParallel-2-4
Store/IterateWithGcParallel-4
Store/IterateWithGcParallel-4-2
Store/IterateWithGcParallel-4-4
Store/IterateWithGcParallel-8
Store/IterateWithGcParallel-8-2
Store/IterateWithGcParallel-8-4
Store/IterateWithGcParallel-16
Store/IterateWithGcParallel-16-2
Store/IterateWithGcParallel-16-4
Store/IterateWithGcParallel-32
Store/IterateWithGcParallel-32-2
Store/IterateWithGcParallel-32-4
Store/IterateWithGcParallel-64
Store/IterateWithGcParallel-64-2
Store/IterateWithGcParallel-64-4
Store/IterateWithGcParallel-128
Store/IterateWithGcParallel-128-2
Store/IterateWithGcParallel-128-4
Store/IterateWithGcParallel-256
Store/IterateWithGcParallel-256-2
Store/IterateWithGcParallel-256-4
Store/IterateWithGcParallel-512
Store/IterateWithGcParallel-512-2
Store/IterateWithGcParallel-512-4
Store/IterateWithGcParallel-1024
Store/IterateWithGcParallel-1024-2
Store/IterateWithGcParallel-1024-4
Metric/GetDatum-2
Metric/GetDatum-2-2
Metric/GetDatum-2-4
Metric/GetDatum-4
Metric/GetDatum-4-2
Metric/GetDatum-4-4
Metric/GetDatum-8
Metric/GetDatum-8-2
Metric/GetDatum-8-4
Metric/GetDatum-16
Metric/GetDatum-16-2
Metric/GetDatum-16-4
Metric/GetDatum-32
Metric/GetDatum-32-2
Metric/GetDatum-32-4
Metric/GetDatum-64
Metric/GetDatum-64-2
Metric/GetDatum-64-4
Metric/GetDatum-128
Metric/GetDatum-128-2
Metric/GetDatum-128-4
Metric/GetDatum-256
Metric/GetDatum-256-2
Metric/GetDatum-256-4
Metric/GetDatum-512
Metric/GetDatum-512-2
Metric/GetDatum-512-4
Metric/GetDatum-1024
Metric/GetDatum-1024-2
Metric/GetDatum-1024-4
Metric/GetDatum-2048
Metric/GetDatum-2048-2
Metric/GetDatum-2048-4
Metric/GetDatum-4096
Metric/GetDatum-4096-2
Metric/GetDatum-4096-4
Metric/GetDatum-8192
Metric/GetDatum-8192-2
Metric/GetDatum-8192-4
Metric/GetDatumParallel-2
Metric/GetDatumParallel-2-2
Metric/GetDatumParallel-2-4
Metric/GetDatumParallel-4
Metric/GetDatumParallel-4-2
Metric/GetDatumParallel-4-4
Metric/GetDatumParallel-8
Metric/GetDatumParallel-8-2
Metric/GetDatumParallel-8-4
Metric/GetDatumParallel-16
Metric/GetDatumParallel-16-2
Metric/GetDatumParallel-16-4
Metric/GetDatumParallel-32
Metric/GetDatumParallel-32-2
Metric/GetDatumParallel-32-4
Metric/GetDatumParallel-64
Metric/GetDatumParallel-64-2
Metric/GetDatumParallel-64-4
Metric/GetDatumParallel-128
Metric/GetDatumParallel-128-2
Metric/GetDatumParallel-128-4
Metric/GetDatumParallel-256
Metric/GetDatumParallel-256-2
Metric/GetDatumParallel-256-4
Metric/GetDatumParallel-512
Metric/GetDatumParallel-512-2
Metric/GetDatumParallel-512-4
Metric/GetDatumParallel-1024
Metric/GetDatumParallel-1024-2
Metric/GetDatumParallel-1024-4
Metric/GetDatumParallel-2048
Metric/GetDatumParallel-2048-2
Metric/GetDatumParallel-2048-4
Metric/GetDatumParallel-4096
Metric/GetDatumParallel-4096-2
Metric/GetDatumParallel-4096-4
Metric/GetDatumParallel-8192
Metric/GetDatumParallel-8192-2
Metric/GetDatumParallel-8192-4
pkg:github.com/google/mtail/internal/metrics/datum goos:linux goarch:amd64
IncrementScalarInt
IncrementScalarInt-2
IncrementScalarInt-4
DecrementScalarInt
DecrementScalarInt-2
DecrementScalarInt-4
pkg:github.com/google/mtail/internal/mtail goos:linux goarch:amd64
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log                             5.45k ± 0%
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log-2                           5.45k ± 0%
Program/examples/rsyncd.mtail_on_testdata/rsyncd.log-4                           5.45k ± 0%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log                          3.06k ± 0%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log-2                        3.06k ± 0%
Program/examples/sftp.mtail_on_testdata/sftp_chroot.log-4                        3.06k ± 0%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log                    1.10M ± 0%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log-2                  1.10M ± 0%
Program/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log-4                  1.10M ± 0%
Program/examples/ntpd.mtail_on_testdata/ntp4                                       223 ± 0%
Program/examples/ntpd.mtail_on_testdata/ntp4-2                                     223 ± 0%
Program/examples/ntpd.mtail_on_testdata/ntp4-4                                     223 ± 0%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats                 82.0 ± 0%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats-2               82.0 ± 0%
Program/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats-4               82.0 ± 0%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log             213 ± 0%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log-2           213 ± 0%
Program/examples/apache_combined.mtail_on_testdata/apache-combined.log-4           213 ± 0%
Program/examples/apache_common.mtail_on_testdata/apache-common.log                 199 ± 0%
Program/examples/apache_common.mtail_on_testdata/apache-common.log-2               200 ± 0%
Program/examples/apache_common.mtail_on_testdata/apache-common.log-4               200 ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log                             1.65k ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log-2                           1.65k ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_log-4                           1.65k ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog                           155 ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog-2                         155 ± 0%
Program/examples/vsftpd.mtail_on_testdata/vsftpd_xferlog-4                         155 ± 0%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log                    177 ± 0%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log-2                  177 ± 0%
Program/examples/lighttpd.mtail_on_testdata/lighttpd_access.log-4                  177 ± 0%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log         891 ± 0%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log-2       891 ± 0%
Program/examples/mysql_slowqueries.mtail_on_testdata/mysql_slowqueries.log-4       892 ± 0%

@jaqx0r
Copy link
Contributor

jaqx0r commented Aug 25, 2021

Nice, I think the exit 1 should be inside the if statement just a few lines above. Can you add one there to exit 1 if the error is logged?

@github-actions

This comment has been minimized.

I was able to use --one_shot to test mtail file syntax but ab3cbf2 added os.Exit(1) so I cannot use exit code to tell if a file is valid or not.
Change exit code from 1 to 0, if there was a syntax error then earlier code will catch it.
@jaqx0r
Copy link
Contributor

jaqx0r commented Aug 26, 2021

Thanks!

@jaqx0r jaqx0r enabled auto-merge August 26, 2021 23:41
@jaqx0r jaqx0r merged commit 64be5cd into google:main Aug 26, 2021
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Unit Test Results

       1 files       27 suites   20m 36s ⏱️
   613 tests    612 ✔️ 1 💤 0 ❌
1 815 runs  1 812 ✔️ 3 💤 0 ❌

Results for commit 64be5cd.

jaqx0r added a commit that referenced this pull request Feb 29, 2024
`prometheus/common` made a breaking change in `expfmt` with
prometheus/common/#576 so we need to change the prometheus encoder constructor
and the dependency version of both `common` and `client_golang` in the same PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants