<commit_before>StackDriver Ruby Client
=======================

A ruby client to send custom metrics to [StackDriver]().

Usage
-----

```ruby
require 'stackdriver'

# One time setup
customer_id = 1
api_key = "foo"
StackDriver.init customer_id, api_key

# Send single metric value
StackDriver.send_metric "test_metric", 666, Time.now.to_i
```

Software Verification
---------------------

This gem is signed with rubygems-openpgp.  You can verify its
integrity by running:

    gem install stackdriver --verify

Much more information on signing is available at the [rubygems-openpgp
Certificate Authority](https://www.rubygems-openpgp-ca.org).


Signing key:

    pub   2048R/E3B5806F 2010-01-11 [expires: 2014-01-03]
          Key fingerprint = A530 C31C D762 0D26 E2BA  <KEY>
    uid                  <NAME> (Personal email) <<EMAIL>>
    uid                  <NAME> <<EMAIL>>
    uid                  <NAME> (pikimal) <<EMAIL>>
    sub   2048R/6A8F7CF6 2010-01-11 [expires: 2014-01-03]
    sub   2048R/A18A54D6 2010-03-01 [expires: 2014-01-03]
    sub   2048R/D53982CE 2010-08-31 [expires: 2014-01-03]
<commit_msg>updated documentation to reflect adding the instance id<commit_after>StackDriver Ruby Client
=======================

A ruby client to send custom metrics to [StackDriver]().

Usage
-----

```ruby
require 'stackdriver'

# One time setup
customer_id = 1
api_key = "foo"
StackDriver.init customer_id, api_key

# Send single metric value
StackDriver.send_metric "test_metric", 666, Time.now.to_i

# Send single metric value with instance id
Stackdriver.send_metric "test_metric", 666, Time.now.to_i, "i-12345"
```

Software Verification
---------------------

This gem is signed with rubygems-openpgp.  You can verify its
integrity by running:

    gem install stackdriver --verify

Much more information on signing is available at the [rubygems-openpgp
Certificate Authority](https://www.rubygems-openpgp-ca.org).


Signing key:

    pub   2048R/E3B5806F 2010-01-11 [expires: 2014-01-03]
          Key fingerprint = A530 C31C D762 0D26 E2BA  <KEY>
    uid                  <NAME> (Personal email) <<EMAIL>>
    uid                  <NAME> <<EMAIL>>
    uid                  <NAME> (pikimal) <<EMAIL>>
    sub   2048R/6A8F7CF6 2010-01-11 [expires: 2014-01-03]
    sub   2048R/A18A54D6 2010-03-01 [expires: 2014-01-03]
    sub   2048R/D53982CE 2010-08-31 [expires: 2014-01-03]

{'fraction_non_alphanumeric': 0.13556485355648534, 'fraction_numerical': 0.099581589958159, 'mean_word_length': 2.8941368078175898, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7400325', 'n_tokens_mistral': 976, 'n_tokens_neox': 788, 'n_words': 233}