Metadata-Version: 2.0
Name: datadog-teamcity
Version: 1.3.0
Summary: The Teamcity check
Home-page: https://github.com/DataDog/integrations-core
Author: Datadog
Author-email: packages@datadoghq.com
License: BSD
Keywords: datadog agent teamcity check
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Topic :: System :: Monitoring
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Requires-Dist: datadog-checks-base

# Agent Check: Teamcity

## Overview

This check watches for successful build-related events and sends them to Datadog.

Unlike most Agent checks, this one doesn't collect any metrics-just events.

## Setup
### Installation

The Teamcity check is included in the [Datadog Agent][1] package, so you don't need to install anything else on your Teamcity servers.

### Configuration
#### Prepare Teamcity

Follow [Teamcity's documentation][2] to enable Guest Login.

Edit the `teamcity.d/conf.yaml` in the `conf.d/` folder at the root of your [Agent's configuration directory][3]. See the [sample teamcity.d/conf.yaml][4] for all available configuration options:

```
init_config:

instances:
  - name: My Website
    server: teamcity.mycompany.com
 #  server: user:password@teamcity.mycompany.com # if you set basic_http_authentication to true
 #  basic_http_authentication: true # default is false
    build_configuration: MyWebsite_Deploy # the internal build ID of the build configuration you wish to track
 #  host_affected: msicalweb6 # defaults to hostname of the Agent's host
 #  is_deployment: true       # causes events to use the word 'deployment' in their messaging
 #  ssl_validation: false     # default is true
 #  tags:                     # add custom tags to events
 #    - test
```

Add an item like the above to `instances` for each build configuration you want to track.

[Restart the Agent][5] to start collecting and sending Teamcity events to Datadog.

### Validation

[Run the Agent's `status` subcommand][6] and look for `teamcity` under the Checks section.

## Data Collected
### Metrics
The Teamcity check does not include any metrics.

### Events
Teamcity events representing successful builds are forwarded to your Datadog application.

### Service Checks
The Teamcity check does not include any service checks.

## Troubleshooting
Need help? Contact [Datadog support][7].

## Further Reading

* [Track performance impact of code changes with TeamCity and Datadog.][8]


[1]: https://app.datadoghq.com/account/settings#agent
[2]: https://confluence.jetbrains.com/display/TCD9/Enabling+Guest+Login
[3]: https://docs.datadoghq.com/agent/faq/agent-configuration-files/#agent-configuration-directory
[4]: https://github.com/DataDog/integrations-core/blob/master/teamcity/datadog_checks/teamcity/data/conf.yaml.example
[5]: https://docs.datadoghq.com/agent/faq/agent-commands/#start-stop-restart-the-agent
[6]: https://docs.datadoghq.com/agent/faq/agent-commands/#agent-status-and-information
[7]: https://docs.datadoghq.com/help
[8]: https://www.datadoghq.com/blog/track-performance-impact-of-code-changes-with-teamcity-and-datadog


