Permalink
Commits on Oct 13, 2017
  1. Merge pull request #139 from librato/chore/readme-tags-update

    gmckeever committed Oct 13, 2017
    Update readme to support only tagged measurements
Commits on Oct 5, 2017
  1. Update Readme with tags only documentation

    gmckeever committed Oct 5, 2017
Commits on Jun 8, 2017
  1. Update README.md

    chancefeick committed Jun 8, 2017
Commits on Jun 2, 2017
  1. Breaking change

    niklibrato committed Jun 2, 2017
Commits on Apr 11, 2017
Commits on Apr 10, 2017
  1. Access Faraday environment using `#[]` (#138)

    oggy committed with chancefeick Apr 10, 2017
    We're seeing `env` come through as a `Hash` rather than a
    `Faraday::Response` here. Faraday's middleware docs are poor, but it
    seems common to look up environment values using `[]` rather than
    relying on the methods of `Response`, presumably because this can
    happen.
Commits on Mar 20, 2017
Commits on Feb 23, 2017
  1. Merge pull request #135 from librato/chore/note-re-tags

    niklibrato committed Feb 23, 2017
    note about tags support
  2. note about tags support

    niklibrato committed Feb 23, 2017
Commits on Feb 10, 2017
  1. Update README.md

    chancefeick committed Feb 10, 2017
Commits on Jan 25, 2017
  1. Bump version and changelog for 2.1.0

    chancefeick committed Jan 25, 2017
Commits on Jan 16, 2017
  1. Merge pull request #133 from librato/chore/update_cert

    nextmat committed Jan 16, 2017
    Update signing cert; add team email to gemspec
Commits on Jan 11, 2017
  1. Update signing cert; add team email to gemspec

    nextmat committed Jan 11, 2017
Commits on Jan 6, 2017
  1. Merge pull request #132 from librato/chore/update_rubies

    nextmat committed Jan 6, 2017
    Update build matrix with newer ruby versions
Commits on Jan 5, 2017
  1. Update build matrix with newer ruby versions

    nextmat committed Jan 5, 2017
Commits on Nov 22, 2016
  1. Merge pull request #129 from librato/chore/documentation

    chancefeick committed Nov 22, 2016
    Update README
  2. update README

    chancefeick committed Nov 22, 2016
Commits on Nov 9, 2016
  1. Merge pull request #131 from librato/chore/spec-fix

    nextmat committed Nov 9, 2016
    Improve raise_error params to remove RSpec warning
  2. Avoid confusion about 2.0.2 fix being in beta

    nextmat committed Nov 9, 2016
    Reorder history to follow actual release schedule
  3. Merge changelog for v2.0.2

    nextmat committed Nov 9, 2016
    Master is currently on the 2.1.0.beta so manually port changelog update from v2.0.2
    
    The changes in 2.0.2 (#130) were merged both into the running 2.0 branch and master.
  4. Merge pull request #130 from librato/feature/clean-env

    nextmat committed Nov 9, 2016
    Sanitize request information passed to exceptions
Commits on Nov 8, 2016
  1. provide specific error to raise_error

    chancefeick committed with nextmat Nov 8, 2016
  2. Restore exception payloads for inspection

    nextmat committed Nov 8, 2016
  3. Pass only part of env to raised errors in middleware

    ys committed with nextmat Oct 11, 2016
    Passing everything means that if it raise to an error tracker you might
    end up leaking credentials.
    
    Raising the whole `env` will also leak request headers like
    Authorization.
    
    The fact that the first parameter is a string means a lot of the bug
    trackers won't filter and scrub it.
    
    ```
    Librato::Metrics::ClientError: #<struct Faraday::Env method=:post,
    body="{\"errors\":{\"params\":{\"measurements\":[\"No measurements
    found\"]}},\"request_time\":1476218695}", url=#<URI::HTTPS
    https://metrics-api.librato.com/v1/metrics>,
    request=#<Faraday::RequestOptions timeout=30, open_timeout=20>,
    request_headers={"User-Agent"=>"librato-metrics/1.6.1 (ruby; 2.3.1p112;
    x86_64-linux) direct-faraday/0.9.2", "Content-Type"=>"application/json",
    "Authorization"=>"Basic
    NOT_REDACTED_IN_BUG_TRACKER=="},
    ssl=#<Faraday::SSLOptions verify=true>, parallel_manager=nil,
    params=nil, response=#<Faraday::Response:0x007f1454966fa8
    @on_complete_callbacks=[], @env=#<Faraday::Env @method=:post
    @body="{\"errors\":{\"params\":{\"measurements\":[\"No measurements
    found\"]}},\"request_time\":1476218695}" @url=#<URI::HTTPS
    https://metrics-api.librato.com/v1/metrics>
    @request=#<Faraday::RequestOptions timeout=30, open_timeout=20>
    @request_headers={"User-Agent"=>"librato-metrics/1.6.1 (ruby; 2.3.1p112;
    x86_64-linux) direct-faraday/0.9.2", "Content-Type"=>"application/json",
    "Authorization"=>"Basic
    NOT_REDACTED_IN_BUG_TRACKER=="}
    @ssl=#<Faraday::SSLOptions verify=true>
    @response=#<Faraday::Response:0x007f1454966fa8 ...>
    @response_headers={"content-type"=>"application/json", "date"=>"Tue, 11
    Oct 2016 20:44:55 GMT", "server"=>"nginx", "content-length"=>"90",
    "connection"=>"Close"} @status=400 @custom={:request_body=>"{}"}>>,
    response_headers={"content-type"=>"application/json", "date"=>"Tue, 11
    Oct 2016 20:44:55 GMT", "server"=>"nginx", "content-length"=>"90",
    "connection"=>"Close"}, status=400>
    ```
Commits on Nov 4, 2016
  1. Merge pull request #121 from librato/feature/md

    chancefeick committed Nov 4, 2016
    Support for tagged measurements
Commits on Oct 22, 2016
  1. Update README.md

    jderrett committed Oct 22, 2016
Commits on Oct 20, 2016
  1. convert legacy measure_time to time

    chancefeick committed Oct 20, 2016
Commits on Oct 7, 2016
  1. update #check_measure_time

    chancefeick committed Oct 7, 2016
  2. internally accept time or measure_time

    chancefeick committed Oct 7, 2016
Commits on Oct 6, 2016
  1. rename block parameter

    chancefeick committed Oct 6, 2016
  2. add Util

    chancefeick committed Oct 6, 2016