<commit_before># DogStatsD.Interceptors

A castle proxy interceptor that branches out in to multiple interceptors to push metrics back to DataDog via DogStatD.

[![install from nuget](http://img.shields.io/nuget/v/DogStatsD.Interceptors.svg?style=flat-square)](https://www.nuget.org/packages/DogStatsD.Interceptors)
[![downloads](http://img.shields.io/nuget/dt/DogStatsD.Interceptors.svg?style=flat-square)](https://www.nuget.org/packages/DogStatsD.Interceptors)
[![Build status](https://ci.appveyor.com/api/projects/status/7c3jrhlnp0bvph95/branch/master?svg=true)](https://ci.appveyor.com/project/Liberis/dogstatsd-interceptors/branch/master)

## Getting Started

DogStatsD.Interceptors is split in to 2 packages, `DogStatsD.Interceptors` and `DogStatsD.Interceptors.Annotations`. `DogStatsD.Interceptors` is the core implemtation while `DogStatsD.Interceptors.Annotations` containing only Attributes which act as method markers.

DogStatsD.Interceptors can be installed via the package manager console by executing the following commandlet:

```powershell
PM> Install-Package DogStatsD.Interceptors
```

Once we have the package installed, we need to setup the DogStatsD client for c#, this is achived at start of your application by calling `Configure` on `DogStatsd` object:<commit_msg>Spelling mistake<commit_after># DogStatsD.Interceptors

A castle proxy interceptor that branches out in to multiple interceptors to push metrics back to DataDog via DogStatD.

[![install from nuget](http://img.shields.io/nuget/v/DogStatsD.Interceptors.svg?style=flat-square)](https://www.nuget.org/packages/DogStatsD.Interceptors)
[![downloads](http://img.shields.io/nuget/dt/DogStatsD.Interceptors.svg?style=flat-square)](https://www.nuget.org/packages/DogStatsD.Interceptors)
[![Build status](https://ci.appveyor.com/api/projects/status/7c3jrhlnp0bvph95/branch/master?svg=true)](https://ci.appveyor.com/project/Liberis/dogstatsd-interceptors/branch/master)

## Getting Started

DogStatsD.Interceptors is split in to 2 packages, `DogStatsD.Interceptors` and `DogStatsD.Interceptors.Annotations`. `DogStatsD.Interceptors` is the core implemtation while `DogStatsD.Interceptors.Annotations` containing only Attributes which act as method markers.

DogStatsD.Interceptors can be installed via the package manager console by executing the following commandlet:

```powershell
PM> Install-Package DogStatsD.Interceptors
```

Once we have the package installed, we need to setup the DogStatsD client for c#, this is achieved at start of your application by calling `Configure` on `DogStatsd` object:
{'fraction_non_alphanumeric': 0.10681114551083591, 'fraction_numerical': 0.0046439628482972135, 'mean_word_length': 6.26123595505618, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5945522', 'n_tokens_mistral': 851, 'n_tokens_neox': 770, 'n_words': 202}