Skip to content

Commit e27234e

Browse files
Migrate code coverage upload from CodeCov to Datadog (#46)
1 parent f9fc92c commit e27234e

2 files changed

Lines changed: 13 additions & 17 deletions

File tree

.github/workflows/dev.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,7 @@ jobs:
7070
run: |
7171
llvm-profdata merge -sparse /tmp/*.profraw -o /tmp/default.profdata
7272
llvm-cov export dist/lib/mod_datadog.so -format=lcov -instr-profile=/tmp/default.profdata -ignore-filename-regex=/httpd/ > coverage.lcov
73-
- name: Upload coverage reports to Codecov
74-
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
75-
with:
76-
files: coverage.lcov
77-
name: github-actions
78-
token: ${{ secrets.CODECOV_TOKEN }}
79-
slug: DataDog/httpd-datadog
80-
fail_ci_if_error: true
73+
- name: Upload code coverage report to Datadog
74+
run: npx @datadog/datadog-ci@latest coverage upload --format=lcov coverage.lcov
75+
env:
76+
DD_API_KEY: ${{ secrets.DD_API_KEY_CI_APP }}

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
# Datadog Apache HTTPD Module
2-
[![codecov](https://codecov.io/github/DataDog/httpd-datadog/graph/badge.svg?branch=main)](https://codecov.io/github/DataDog/httpd-datadog?branch=main)
32

43
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.
54

6-
## Getting started
5+
## Getting Started
76

87
> [!IMPORTANT]
98
> Only Apache HTTP Server 2.4.x is supported.
109
>
11-
> For a detail understanding of our release cycle and Apache HTTPD support, read our [Release documentation.](./doc/release.md)
10+
> For a detail understanding of our release cycle and Apache HTTPD support, read our [Release documentation](./doc/release.md).
1211
1312
### Installation
13+
1414
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:
15-
````sh
15+
16+
```sh
1617
LoadModule datadog_module <MODULE_PATH>/mod_datadog.so
17-
````
18+
```
1819

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

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

25-
## Development / Contribution
24+
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)
2625

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

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

0 commit comments

Comments
 (0)