https://github.com/datadog/datadog-api-client-go
datadog datadog-api golang openapi
Score: 26.753619016642336
Last synced: about 1 hour ago
JSON representation
Repository metadata:
Golang client for the Datadog API
- Host: GitHub
- URL: https://github.com/datadog/datadog-api-client-go
- Owner: DataDog
- License: apache-2.0
- Created: 2019-06-25T22:56:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2026-02-04T18:04:21.000Z (3 days ago)
- Last Synced: 2026-02-04T22:12:29.676Z (3 days ago)
- Topics: datadog, datadog-api, golang, openapi
- Language: Go
- Homepage: https://pkg.go.dev/github.com/DataDog/datadog-api-client-go/v2
- Size: 350 MB
- Stars: 159
- Watchers: 526
- Forks: 63
- Open Issues: 83
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Support: SUPPORT.md
- Notice: NOTICE
Owner metadata:
- Name: Datadog, Inc.
- Login: DataDog
- Email: info@datadoghq.com
- Kind: organization
- Description:
- Website: https://datadoghq.com
- Location: New York
- Twitter: datadoghq
- Company:
- Icon url: https://avatars.githubusercontent.com/u/365230?v=4
- Repositories: 968
- Last Synced at: 2024-04-15T05:05:10.008Z
- Profile URL: https://github.com/DataDog
GitHub Events
Total
- Create event: 475
- Delete event: 470
- Fork event: 13
- Issue comment event: 117
- Issues event: 11
- Pull request event: 888
- Pull request review comment event: 87
- Pull request review event: 392
- Push event: 2618
- Release event: 11
- Watch event: 13
- Total: 5095
Last Year
- Create event: 475
- Delete event: 470
- Fork event: 13
- Issue comment event: 117
- Issues event: 11
- Pull request event: 888
- Pull request review comment event: 87
- Pull request review event: 392
- Push event: 2618
- Release event: 11
- Watch event: 13
- Total: 5095
Committers metadata
Last synced: about 1 month ago
Total Commits: 2,782
Total Committers: 82
Avg Commits per committer: 33.927
Development Distribution Score (DDS): 0.206
Commits in past year: 471
Committers in past year: 12
Avg Commits per committer in past year: 39.25
Development Distribution Score (DDS) in past year: 0.055
| Name | Commits | |
|---|---|---|
| api-clients-generation-pipeline[bot] | 5****] | 2210 |
| Thomas Hervé | t****e@d****m | 140 |
| Jiri Kuncar | j****r@d****m | 78 |
| skarimo | 4****o | 74 |
| Nicholas Muesch | n****h@d****m | 41 |
| Hippolyte HENRY | z****e | 35 |
| William Cheng | w****k@g****m | 30 |
| Slavek Kabrda | s****a@d****m | 21 |
| Kevin Zou | 1****u | 10 |
| jack-edmonds-dd | j****s@d****m | 10 |
| amaskara-dd | 1****d | 8 |
| John Wang | j****g@g****m | 8 |
| Ulysse Mavrocordatos | 5****c | 7 |
| dependabot[bot] | 4****] | 7 |
| Gregory Zussa | g****a | 7 |
| NouemanKHAL | n****e@d****m | 6 |
| Jérémie Bresson | d****v@j****r | 6 |
| ci.datadog-api-spec | p****s@d****m | 3 |
| Aanisha Mishra | a****5@g****m | 3 |
| HantingZhang2 | 4****2 | 3 |
| Justin Black | s****r | 3 |
| Nathan Baulch | n****h@g****m | 3 |
| Thiago Arrais | t****s@g****m | 3 |
| Colin Arnott | c****n@u****k | 2 |
| Matthew Hardwick | m****k@d****m | 2 |
| Arvind Thirunarayanan | a****h | 2 |
| Kris Raney | g****b@j****m | 2 |
| Marin Atanasov Nikolov | d****n@g****m | 2 |
| Michael Cristina | m****2 | 2 |
| Sebastien Rosset | s****t@c****m | 2 |
| and 52 more... | ||
Issue and Pull Request metadata
Last synced: 28 days ago
Total issues: 36
Total pull requests: 1,704
Average time to close issues: 10 days
Average time to close pull requests: 22 days
Total issue authors: 24
Total pull request authors: 37
Average comments per issue: 1.94
Average comments per pull request: 0.13
Merged pull request: 1,058
Bot issues: 12
Bot pull requests: 1,573
Past year issues: 10
Past year pull requests: 714
Past year average time to close issues: 9 days
Past year average time to close pull requests: 11 days
Past year issue authors: 10
Past year pull request authors: 20
Past year average comments per issue: 0.3
Past year average comments per pull request: 0.12
Past year merged pull request: 367
Past year bot issues: 1
Past year bot pull requests: 671
Top Issue Authors
- api-clients-generation-pipeline[bot] (12)
- mx-psi (2)
- dgdelahera (1)
- nvatuan (1)
- asaravindkumar (1)
- djowinz-pp (1)
- dudo (1)
- jpd4emis (1)
- Marcel2603 (1)
- jwillker (1)
- alienchow (1)
- magnusbaeck (1)
- lspd-chruzcruz (1)
- pablito-perez (1)
- KieranJamess (1)
Top Pull Request Authors
- api-clients-generation-pipeline[bot] (1,552)
- skarimo (26)
- amaskara-dd (21)
- dependabot[bot] (21)
- therve (13)
- MintsInc (9)
- jack-edmonds-dd (8)
- nkzou (7)
- bthuilot (4)
- HantingZhang2 (4)
- pablito-perez (3)
- gerardsegarra (2)
- sarrazaghbib-dev (2)
- jpd4emis (2)
- pawel-macionczyk (2)
Top Issue Labels
- kind/bug (13)
- kind/feature-request (9)
- changelog/no-changelog (6)
- changelog/Added (4)
- stale (3)
- documentation (2)
- stale/exempt (1)
- severity/normal (1)
Top Pull Request Labels
- changelog/no-changelog (661)
- changelog/Added (518)
- stale (124)
- changelog/Fixed (110)
- changelog/Changed (95)
- documentation (55)
- dependencies (21)
- changelog/Deprecated (20)
- go (14)
- changelog/Removed (8)
- ci/integrations (8)
- python (7)
- mergequeue-status: removed (4)
- mergequeue-status: rejected (3)
- mergequeue-status: done (1)
- changelog/Security (1)
- mergequeue-status: in_progress (1)
- azure-metric-filtering (1)
- azure-integrations (1)
- backward-incompatible (1)
- mergequeue-status: waiting (1)
Package metadata
- Total packages: 13
- Total downloads: unknown
- Total docker downloads: 20,955,930
- Total dependent packages: 253 (may contain duplicates)
- Total dependent repositories: 293 (may contain duplicates)
- Total versions: 587
proxy.golang.org: github.com/DataDog/datadog-api-client-go
- Homepage: https://github.com/DataDog/datadog-api-client-go
- Documentation: https://pkg.go.dev/github.com/DataDog/datadog-api-client-go#section-documentation
- Licenses: Apache-2.0
- Latest release: v1.16.0 (published over 3 years ago)
- Last Synced: 2026-01-15T14:01:45.662Z (23 days ago)
- Versions: 40
- Dependent Packages: 74
- Dependent Repositories: 138
- Docker Downloads: 2,703,321
-
Rankings:
- Dependent repos count: 0.525%
- Docker downloads count: 0.54%
- Dependent packages count: 0.564%
- Average: 1.952%
- Forks count: 3.535%
- Stargazers count: 4.6%
proxy.golang.org: github.com/DataDog/datadog-api-client-go/v2
Package datadog-api-client-go. This repository contains a Go API client for the Datadog API (https://docs.datadoghq.com/api/). • Go 1.22+ This repository contains per-major-version API client packages. Right now, Datadog has two API versions, v1, v2 and the common package. The client library for Datadog API v1 is located in the api/datadogV1 directory. Import it with The client library for Datadog API v2 is located in the api/datadogV2 directory. Import it with The datadog package for Datadog API is located in the api/datadog directory. Import it with Here's an example creating a user: Save it to example.go, then run go get github.com/DataDog/datadog-api-client-go/v2. Set the DD_CLIENT_API_KEY and DD_CLIENT_APP_KEY to your Datadog credentials, and then run go run example.go. This client includes access to Datadog API endpoints while they are in an unstable state and may undergo breaking changes. An extra configuration step is required to enable these endpoints: where <OperationName> is the name of the method used to interact with that endpoint. For example: GetLogsIndex, or UpdateLogsIndex When talking to a different server, like the eu instance, change the ContextServerVariables: If you want to disable GZIP compressed responses, set the compress flag on your configuration object: If you want to enable requests logging, set the debug flag on your configuration object: If you want to enable retry when getting status code 429 rate-limited or 5xx, set EnableRetry to true The default max retry is 3, you can change it with MaxRetries If you want to configure proxy, set env var HTTP_PROXY, and HTTPS_PROXY or set custom HTTPClient with proxy configured on configuration object: Several listing operations have a pagination method to help consume all the items available. For example, to retrieve all your incidents: Encoder/Decoder By default, datadog-api-client-go uses the Go standard library enconding/json (https://pkg.go.dev/encoding/json) to encode and decode data. As an alternative users can opt in to use goccy/go-json (https://github.com/goccy/go-json) by specifying the go build tag goccy_gojson. In comparison, there was a significant decrease in cpu time with goccy/go-json with an increase in memory overhead. For further benchmark information, see goccy/go-json benchmark (https://github.com/goccy/go-json#benchmarks) section. Developer documentation for API endpoints and models is available on Github pages (https://datadoghq.dev/datadog-api-client-go/pkg/github.com/DataDog/datadog-api-client-go/v2/). Released versions are available on pkg.go.dev (https://pkg.go.dev/github.com/DataDog/datadog-api-client-go/v2). As most of the code in this repository is generated, we will only accept PRs for files that are not modified by our code-generation machinery (changes to the generated files would get overwritten). We happily accept contributions to files that are not autogenerated, such as tests and development tooling. support@datadoghq.com
- Homepage: https://github.com/DataDog/datadog-api-client-go
- Documentation: https://pkg.go.dev/github.com/DataDog/datadog-api-client-go/v2#section-documentation
- Licenses: Apache-2.0
- Latest release: v2.52.0 (published about 2 months ago)
- Last Synced: 2026-01-10T14:02:43.549Z (28 days ago)
- Versions: 57
- Dependent Packages: 179
- Dependent Repositories: 155
- Docker Downloads: 18,252,609
-
Rankings:
- Dependent packages count: 0.403%
- Dependent repos count: 0.499%
- Docker downloads count: 1.148%
- Average: 2.018%
- Forks count: 3.593%
- Stargazers count: 4.448%
proxy.golang.org: github.com/datadog/datadog-api-client-go/v2
- Homepage:
- Documentation: https://pkg.go.dev/github.com/datadog/datadog-api-client-go/v2#section-documentation
- Licenses: apache-2.0
- Latest release: v2.53.0 (published 30 days ago)
- Last Synced: 2026-01-10T14:02:34.298Z (28 days ago)
- Versions: 58
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 1.622%
- Average: 4.057%
- Dependent packages count: 6.492%
proxy.golang.org: github.com/Datadog/datadog-api-client-go/v2
- Homepage:
- Documentation: https://pkg.go.dev/github.com/Datadog/datadog-api-client-go/v2#section-documentation
- Licenses: apache-2.0
- Latest release: v2.53.0 (published 30 days ago)
- Last Synced: 2026-01-10T14:02:42.792Z (28 days ago)
- Versions: 58
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 2.203%
- Stargazers count: 2.906%
- Average: 5.363%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/DataDog/datadog-api-client-go/tests
- Homepage: https://github.com/DataDog/datadog-api-client-go
- Documentation: https://pkg.go.dev/github.com/DataDog/datadog-api-client-go/tests#section-documentation
- Licenses: Apache-2.0
- Latest release: (published 24 days ago)
- Last Synced: 2026-01-14T12:34:45.085Z (24 days ago)
- Versions: 0
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 2.36%
- Stargazers count: 3.099%
- Average: 5.451%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/DataDog/datadog-api-Client-go/v2
- Homepage:
- Documentation: https://pkg.go.dev/github.com/DataDog/datadog-api-Client-go/v2#section-documentation
- Licenses: apache-2.0
- Latest release: v2.53.0 (published 30 days ago)
- Last Synced: 2026-01-10T14:02:39.545Z (28 days ago)
- Versions: 58
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.648%
- Average: 5.838%
- Dependent repos count: 6.027%
proxy.golang.org: github.com/Datadog/Datadog-api-client-go/v2
- Homepage:
- Documentation: https://pkg.go.dev/github.com/Datadog/Datadog-api-client-go/v2#section-documentation
- Licenses:
- Latest release: v2.53.0 (published 30 days ago)
- Last Synced: 2026-01-10T14:02:50.187Z (28 days ago)
- Versions: 58
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.088%
- Average: 6.292%
- Dependent repos count: 6.495%
proxy.golang.org: github.com/DataDog/Datadog-api-client-go/v2
- Homepage:
- Documentation: https://pkg.go.dev/github.com/DataDog/Datadog-api-client-go/v2#section-documentation
- Licenses: apache-2.0
- Latest release: v2.53.0 (published 30 days ago)
- Last Synced: 2026-01-10T14:02:57.200Z (28 days ago)
- Versions: 58
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 3.516%
- Stargazers count: 4.41%
- Average: 6.848%
- Dependent packages count: 8.899%
- Dependent repos count: 10.567%
proxy.golang.org: github.com/DataDog/Datadog-api-client-go
- Homepage:
- Documentation: https://pkg.go.dev/github.com/DataDog/Datadog-api-client-go#section-documentation
- Licenses: apache-2.0
- Latest release: v1.16.0 (published over 3 years ago)
- Last Synced: 2026-01-10T14:02:41.143Z (28 days ago)
- Versions: 40
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 3.516%
- Stargazers count: 4.41%
- Average: 6.848%
- Dependent packages count: 8.899%
- Dependent repos count: 10.567%
proxy.golang.org: github.com/DataDog/datadog-api-Client-go
- Homepage:
- Documentation: https://pkg.go.dev/github.com/DataDog/datadog-api-Client-go#section-documentation
- Licenses: apache-2.0
- Latest release: v1.16.0 (published over 3 years ago)
- Last Synced: 2026-01-14T12:36:49.482Z (24 days ago)
- Versions: 40
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/Datadog/datadog-api-client-go
- Homepage:
- Documentation: https://pkg.go.dev/github.com/Datadog/datadog-api-client-go#section-documentation
- Licenses: apache-2.0
- Latest release: v1.16.0 (published over 3 years ago)
- Last Synced: 2026-01-10T14:02:40.681Z (28 days ago)
- Versions: 40
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/datadog/Datadog-api-client-go
- Homepage:
- Documentation: https://pkg.go.dev/github.com/datadog/Datadog-api-client-go#section-documentation
- Licenses: apache-2.0
- Latest release: v1.16.0 (published over 3 years ago)
- Last Synced: 2026-01-10T14:02:42.230Z (28 days ago)
- Versions: 40
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/datadog/datadog-api-client-go
- Homepage: https://github.com/DataDog/datadog-api-client-go
- Documentation: https://pkg.go.dev/github.com/datadog/datadog-api-client-go#section-documentation
- Licenses: Apache-2.0
- Latest release: v1.16.0 (published over 3 years ago)
- Last Synced: 2026-01-10T14:02:37.607Z (28 days ago)
- Versions: 40
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
Dependencies
- DataDog/github-actions/post-review-status v2 composite
- tibdex/github-app-token v1 composite
- actions/checkout v3 composite
- actions/setup-go v3 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/autobuild v2 composite
- github/codeql-action/init v2 composite
- DataDog/labeler glob-all composite
- actions/checkout v3 composite
- actions/github-script v6 composite
- tibdex/github-app-token v1 composite
- actions/checkout v3 composite
- actions/github-script v6 composite
- tibdex/github-app-token v1 composite
- actions/stale v7 composite
- DataDog/github-actions/post-status-check v2 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-go v3 composite
- actions/setup-python v4 composite
- tibdex/github-app-token v1 composite
- DataDog/github-actions/post-status-check v2 composite
- actions/checkout v3 composite
- actions/setup-go v3 composite
- tibdex/github-app-token v1 composite
- gcr.io/datadoghq/agent latest docker
- github.com/DataDog/zstd v1.5.0
- github.com/golang/protobuf v1.2.0
- golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e
- golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
- golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
- google.golang.org/appengine v1.4.0
- retract (
- cloud.google.com/go v0.34.0
- github.com/DataDog/zstd v1.5.0
- github.com/golang/protobuf v1.2.0
- golang.org/x/net v0.0.0-20180724234803-3673e40ba225
- golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e
- golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
- golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4
- golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
- golang.org/x/text v0.3.0
- google.golang.org/appengine v1.4.0
- github.com/DataDog/datadog-api-client-go/v2 v2.0.0-20220801144725-c926bb85c001
- github.com/DataDog/datadog-go v4.8.2+incompatible
- github.com/DataDog/dd-sdk-go-testing v0.0.0-20210929140144-5d69f0a9bd49
- github.com/DataDog/sketches-go v1.0.0
- github.com/DataDog/zstd v1.5.0
- github.com/Microsoft/go-winio v0.5.1
- github.com/cucumber/gherkin-go/v13 v13.0.0
- github.com/cucumber/messages-go/v12 v12.0.0
- github.com/davecgh/go-spew v1.1.1
- github.com/dnaeon/go-vcr v1.0.1
- github.com/go-bdd/gobdd v1.1.4-0.20211209204431-ca566a78d075
- github.com/gofrs/uuid v3.2.0+incompatible
- github.com/gogo/protobuf v1.3.2
- github.com/golang/protobuf v1.4.1
- github.com/google/go-cmp v0.5.0
- github.com/google/uuid v1.3.0
- github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542
- github.com/jonboulle/clockwork v0.1.0
- github.com/mitchellh/go-homedir v1.1.0
- github.com/opentracing/opentracing-go v1.1.0
- github.com/philhofer/fwd v1.1.1
- github.com/pkg/errors v0.9.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/objx v0.1.1
- github.com/stretchr/testify v1.7.0
- github.com/tinylib/msgp v1.1.6
- golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4
- golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
- golang.org/x/sys v0.0.0-20211020174200-9d6173849985
- golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
- golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
- google.golang.org/appengine v1.4.0
- google.golang.org/protobuf v1.25.0
- gopkg.in/DataDog/dd-trace-go.v1 v1.33.0
- gopkg.in/h2non/gock.v1 v1.0.15
- gopkg.in/yaml.v2 v2.2.8
- gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
- gotest.tools v2.2.0+incompatible
- 163 dependencies
- Mako 1.2.2
- atomicwrites 1.4.0
- attrs 21.4.0
- click 8.0.1
- colorama 0.4.4
- glob2 0.7
- iniconfig 1.1.1
- jinja2 3.0.3
- jsonref 0.2
- markupsafe 2.1.1
- packaging 21.3
- parse 1.19.0
- parse-type 0.6.0
- pluggy 1.0.0
- py 1.11.0
- pyparsing 3.0.8
- pytest 7.1.1
- pytest-bdd 5.0.0
- python-dateutil 2.8.2
- pyyaml 6.0
- six 1.16.0
- tomli 2.0.1
- PyYAML 6.0
- click 8.0.1
- jinja2 3.0.3
- jsonref 0.2
- pytest ^7.1.1
- pytest-bdd ^5.0.0
- python ^3.10
- python-dateutil 2.8.2
- actions/checkout v3 composite
- actions/setup-go v4 composite
- peaceiris/actions-gh-pages v3 composite