Skip to content

Commit

Permalink
Update models
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-mez committed May 21, 2021
1 parent c1e59a9 commit 4bd6b65
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ def instance_ignore_metrics_by_labels(field, value):
return get_default_field_value(field, value)


def instance_ignore_tags(field, value):
return get_default_field_value(field, value)


def instance_jmx_exporter_port(field, value):
return 11001

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class Config:
health_service_check: Optional[bool]
ignore_metrics: Optional[Sequence[str]]
ignore_metrics_by_labels: Optional[IgnoreMetricsByLabels]
ignore_tags: Optional[Sequence[str]]
jmx_exporter_port: Optional[int]
kerberos_auth: Optional[str]
kerberos_cache: Optional[str]
Expand Down
4 changes: 4 additions & 0 deletions haproxy/datadog_checks/haproxy/config_models/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ def instance_ignore_metrics_by_labels(field, value):
return get_default_field_value(field, value)


def instance_ignore_tags(field, value):
return get_default_field_value(field, value)


def instance_kerberos_auth(field, value):
return 'disabled'

Expand Down
1 change: 1 addition & 0 deletions haproxy/datadog_checks/haproxy/config_models/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class Config:
health_service_check: Optional[bool]
ignore_metrics: Optional[Sequence[str]]
ignore_metrics_by_labels: Optional[IgnoreMetricsByLabels]
ignore_tags: Optional[Sequence[str]]
kerberos_auth: Optional[str]
kerberos_cache: Optional[str]
kerberos_delegate: Optional[bool]
Expand Down
4 changes: 4 additions & 0 deletions istio/datadog_checks/istio/config_models/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ def instance_ignore_metrics_by_labels(field, value):
return get_default_field_value(field, value)


def instance_ignore_tags(field, value):
return get_default_field_value(field, value)


def instance_istio_mesh_endpoint(field, value):
return 'http://istio-proxy.istio-system:15090/stats/prometheus'

Expand Down
1 change: 1 addition & 0 deletions istio/datadog_checks/istio/config_models/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class Config:
health_service_check: Optional[bool]
ignore_metrics: Optional[Sequence[str]]
ignore_metrics_by_labels: Optional[IgnoreMetricsByLabels]
ignore_tags: Optional[Sequence[str]]
istio_mesh_endpoint: Optional[str]
istiod_endpoint: Optional[str]
kerberos_auth: Optional[str]
Expand Down

0 comments on commit 4bd6b65

Please sign in to comment.