Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tags attribute type in event aggregation API #69

Merged
merged 1 commit into from
Sep 16, 2020
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
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.2.0",
"regenerated": "2020-09-16 13:35:01.251753",
"spec_repo_commit": "2833f0d"
"regenerated": "2020-09-16 14:34:33.340509",
"spec_repo_commit": "01da443"
},
"v2": {
"apigentools_version": "1.2.0",
"regenerated": "2020-09-16 13:35:10.530384",
"spec_repo_commit": "2833f0d"
"regenerated": "2020-09-16 14:34:44.116861",
"spec_repo_commit": "01da443"
}
}
}
2 changes: 1 addition & 1 deletion docs/v2/LogAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**message** | **str** | The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes) of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search. | [optional]
**service** | **str** | The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products. | [optional]
**status** | **str** | Status of the message associated with your log. | [optional]
**tags** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Array of tags associated with your log. | [optional]
**tags** | **[str]** | Array of tags associated with your log. | [optional]
**timestamp** | **datetime** | Timestamp of your log. | [optional]

[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/model/log_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def openapi_types():
'message': (str,), # noqa: E501
'service': (str,), # noqa: E501
'status': (str,), # noqa: E501
'tags': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501
'tags': ([str],), # noqa: E501
'timestamp': (datetime,), # noqa: E501
}

Expand Down Expand Up @@ -146,7 +146,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
message (str): The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes) of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.. [optional] # noqa: E501
service (str): The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products.. [optional] # noqa: E501
status (str): Status of the message associated with your log.. [optional] # noqa: E501
tags ([bool, date, datetime, dict, float, int, list, str, none_type]): Array of tags associated with your log.. [optional] # noqa: E501
tags ([str]): Array of tags associated with your log.. [optional] # noqa: E501
timestamp (datetime): Timestamp of your log.. [optional] # noqa: E501
"""

Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,10 +318,10 @@ components:
description: Array of tags associated with your log.
example:
- team:A
format: array
items:
description: Tag associated with your log.
format: string
type: string
type: array
timestamp:
description: Timestamp of your log.
example: '2019-01-02T09:42:36.320Z'
Expand Down