Skip to content

Commit

Permalink
Add logs submission note (#1252)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Feb 22, 2023
1 parent a142e51 commit 6f27fd1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-17 21:33:19.152339",
"spec_repo_commit": "f388a249"
"regenerated": "2023-02-22 18:12:30.856952",
"spec_repo_commit": "7f9c8d81"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-17 21:33:19.166893",
"spec_repo_commit": "f388a249"
"regenerated": "2023-02-22 18:12:30.869765",
"spec_repo_commit": "7f9c8d81"
}
}
}
3 changes: 3 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15342,6 +15342,9 @@ paths:
Add the `Content-Encoding: gzip` header to the request when sending compressed
logs.

Log events can be submitted up to 18 hours in the past and 2 hours in the
future.


The status codes answered by the HTTP API are:

Expand Down
1 change: 1 addition & 0 deletions lib/datadog_api_client/v2/api/logs_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ def submit_log(body, opts = {})
#
# Datadog recommends sending your logs compressed.
# Add the `Content-Encoding: gzip` header to the request when sending compressed logs.
# Log events can be submitted up to 18 hours in the past and 2 hours in the future.
#
# The status codes answered by the HTTP API are:
# - 202: Accepted: the request has been accepted for processing
Expand Down

0 comments on commit 6f27fd1

Please sign in to comment.