commit | eff865085c763f5cfbea21946aab23c039422538 | [log] [tgz] |
---|---|---|
author | Jeff Carpenter <jeffcarp@chromium.org> | Tue Oct 16 21:53:37 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 16 21:53:37 2018 |
tree | f8896a699348ed65501de1c680269c7e1711894b | |
parent | fe3ee426207969062ab2bb487a46f0f1b35ae286 [diff] |
[chopsui, Monorail] Add option to ts-mon.js to disable sending metrics For Monorail's use case, we currently have no need to send metrics after the first 60 second interval, and it's resulting in a large growth in QPS. This CL adds an option to the ts_mon JS client to disable sending metrics after the next flush to the server. Bug: monorail:4421 Change-Id: Id29c2edc864d7dc41941075fb5e0a24303bf1225 Reviewed-on: https://chromium-review.googlesource.com/c/1283953 Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org> Reviewed-by: Sergey Berezin <sergeyberezin@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#18372} Cr-Mirrored-From: https://chromium.googlesource.com/infra/infra Cr-Mirrored-Commit: 353e53ec454b522c4933e6df5bb31fdeac78e99d
Design Doc: go/chopsui
This directory contains Polymer Web Components that are meant to be shared by Chrome Operations' application frontends.
chopsui/ has been published as the bower package: chopsui
Code changes should be done in the infra repo.
New versions of the chopsui bower package are published by pushing git tags. This should be done in the chopsui repo. See the Pushing a New Version section.
Please add demos and documentation for elements as described in the polymer docs.
Check that your demo and documentation are working and correct by running:
polymer serve
then visit localhost:XXXX/components/chopsui/demo/my-el_demo.html
New versions are published by pushing git version tags while in the chopsui repo. Bower will automatically detect a new version tag.
You need to be granted permission to push tags in the chopsui repo. If you don't have permission, please contact jojwang@, zhangtiff@, or seanmccullough@ for instructions on how to proceed.
Make a clone of the chopsui repo:
git clone https://chromium.googlesource.com/infra/infra/crdx/chopsui
To test your elements, you will need to install polymer-cli
:
npm install -g polymer-cli
You can run the tests with:
polymer test
Make sure Chromium's depot_tools is in your path as well. Learn how to set up depot_tools here.
git tag
git tag v0.0.31 # replace 0.0.31 with an appropriate version number
git push --tags
That's it! Run
bower info chopsui
You should see the new version tag you just pushed listed under ‘Available versions’.