-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add v2 endpoints for RUM custom metrics. #2223
Add v2 endpoints for RUM custom metrics. #2223
Conversation
"query": "query", | ||
} | ||
|
||
def __init__(self_, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, **kwargs): | |
def __init__(self, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"tag_name": "tag_name", | ||
} | ||
|
||
def __init__(self_, path: str, tag_name: Union[str, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, path: str, tag_name: Union[str, UnsetType] = unset, **kwargs): | |
def __init__(self, path: str, tag_name: Union[str, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"include_percentiles": "include_percentiles", | ||
} | ||
|
||
def __init__(self_, include_percentiles: Union[bool, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, include_percentiles: Union[bool, UnsetType] = unset, **kwargs): | |
def __init__(self, include_percentiles: Union[bool, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: RumMetricCreateData, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, data: RumMetricCreateData, **kwargs): | |
def __init__(self, data: RumMetricCreateData, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"when": "when", | ||
} | ||
|
||
def __init__(self_, when: RumMetricResponseUniquenessWhen, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, when: RumMetricResponseUniquenessWhen, **kwargs): | |
def __init__(self, when: RumMetricResponseUniquenessWhen, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"type": "type", | ||
} | ||
|
||
def __init__(self_, attributes: RumMetricCreateAttributes, id: str, type: RumMetricType, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, attributes: RumMetricCreateAttributes, id: str, type: RumMetricType, **kwargs): | |
def __init__(self, attributes: RumMetricCreateAttributes, id: str, type: RumMetricType, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: RumMetricUpdateData, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, data: RumMetricUpdateData, **kwargs): | |
def __init__(self, data: RumMetricUpdateData, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"query": "query", | ||
} | ||
|
||
def __init__(self_, query: Union[str, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, query: Union[str, UnsetType] = unset, **kwargs): | |
def __init__(self, query: Union[str, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"include_percentiles": "include_percentiles", | ||
} | ||
|
||
def __init__(self_, include_percentiles: Union[bool, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, include_percentiles: Union[bool, UnsetType] = unset, **kwargs): | |
def __init__(self, include_percentiles: Union[bool, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
dfef80b
to
120bb03
Compare
"when": "when", | ||
} | ||
|
||
def __init__(self_, when: Union[RumMetricUniquenessWhen, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, when: Union[RumMetricUniquenessWhen, UnsetType] = unset, **kwargs): | |
def __init__(self, when: Union[RumMetricUniquenessWhen, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
00cc75c
to
eca43ec
Compare
69c6c66
to
6d9a992
Compare
38a67b0
to
e05e964
Compare
* Regenerate client from commit 47da2e01 of spec repo * pre-commit fixes --------- Co-authored-by: ci.datadog-api-spec <[email protected]> 54a0e47
See DataDog/datadog-api-spec#3066
Test branch datadog-api-spec/test/arthur.hemery/rum-metrics-v2