diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index b7c3564..37b5071 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -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 }} diff --git a/README.md b/README.md index 254dd65..c340202 100644 --- a/README.md +++ b/README.md @@ -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 /mod_datadog.so -```` +``` Then run `httpd -t ` 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).