Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ jobs:
run: |
llvm-profdata merge -sparse /tmp/*.profraw -o /tmp/default.profdata
llvm-cov export dist/lib/mod_datadog.so -format=lcov -instr-profile=/tmp/default.profdata -ignore-filename-regex=/httpd/ > coverage.lcov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
files: coverage.lcov
name: github-actions
token: ${{ secrets.CODECOV_TOKEN }}
slug: DataDog/httpd-datadog
fail_ci_if_error: true
- name: Upload code coverage report to Datadog
run: npx @datadog/datadog-ci@latest coverage upload --format=lcov coverage.lcov
env:
DD_API_KEY: ${{ secrets.DD_API_KEY_CI_APP }}
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Datadog Apache HTTPD Module
[![codecov](https://codecov.io/github/DataDog/httpd-datadog/graph/badge.svg?branch=main)](https://codecov.io/github/DataDog/httpd-datadog?branch=main)

This module adds distributed tracing to [Apache HTTP Server](https://httpd.apache.org/). Leveraging [Datadog's tracing library](https://github.com/DataDog/dd-trace-cpp/), it provides access to Datadog-specific functionality.

## Getting started
## Getting Started

> [!IMPORTANT]
> Only Apache HTTP Server 2.4.x is supported.
>
> For a detail understanding of our release cycle and Apache HTTPD support, read our [Release documentation.](./doc/release.md)
> For a detail understanding of our release cycle and Apache HTTPD support, read our [Release documentation](./doc/release.md).

### Installation

Download a gzipped tarball compatible with your version of Apache HTTPD, extract it to wherever `httpd` looks for modules and add the following line to the top of your configuration file:
````sh

```sh
LoadModule datadog_module <MODULE_PATH>/mod_datadog.so
````
```

Then run `httpd -t <CONFIG_FILE>` to test the new configuration.

## Configuration
Once the module is loaded, by default all requests are traced and sent to the Datadog Agent.
To change the module default behaviour, check our [Configuration page.](./doc/configuration.md)

## Development / Contribution
Once the module is loaded, by default all requests are traced and sent to the Datadog Agent. To change the module default behaviour, check our [Configuration page.](./doc/configuration.md)

We welcome contribution, before doing so, please read our [CONTRIBUTING.md](./CONTRIBUTING.md).
## Development / Contribution

We welcome contributions. Before doing so, please read our [CONTRIBUTING.md](./CONTRIBUTING.md).
Loading