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

Use prometheus format for metrics #20

Merged
merged 2 commits into from
May 3, 2019
Merged
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
18 changes: 9 additions & 9 deletions deploy/kubernetes/fluentd-sumologic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,56 +96,56 @@ data:
</rule>
</match>
<filter prometheus.datapoint**>
@type carbon_v2
@type prometheus_format
relabel container_name:container,pod_name:pod
</filter>
<match prometheus.datapoint.apiserver**>
@type sumologic
endpoint "#{ENV['SUMO_ENDPOINT_METRICS_APISERVER']}"
data_type metrics
metric_data_format carbon2
metric_data_format prometheus
</match>
<match prometheus.datapoint.kubelet**>
@type sumologic
endpoint "#{ENV['SUMO_ENDPOINT_METRICS_KUBELET']}"
data_type metrics
metric_data_format carbon2
metric_data_format prometheus
</match>
<match prometheus.datapoint.kube-controller-manager**>
@type sumologic
endpoint "#{ENV['SUMO_ENDPOINT_METRICS_KUBE_CONTROLLER_MANAGER']}"
data_type metrics
metric_data_format carbon2
metric_data_format prometheus
</match>
<match prometheus.datapoint.kube-scheduler**>
@type sumologic
endpoint "#{ENV['SUMO_ENDPOINT_METRICS_KUBE_SCHEDULER']}"
data_type metrics
metric_data_format carbon2
metric_data_format prometheus
</match>
<match prometheus.datapoint.kube-state**>
@type sumologic
endpoint "#{ENV['SUMO_ENDPOINT_METRICS_KUBE_STATE']}"
data_type metrics
metric_data_format carbon2
metric_data_format prometheus
</match>
<match prometheus.datapoint.node-exporter**>
@type sumologic
endpoint "#{ENV['SUMO_ENDPOINT_METRICS_NODE_EXPORTER']}"
data_type metrics
metric_data_format carbon2
metric_data_format prometheus
</match>
<match prometheus.datapoint.prometheus-operator**>
@type sumologic
endpoint "#{ENV['SUMO_ENDPOINT_METRICS_PROMETHEUS_OPERATOR']}"
data_type metrics
metric_data_format carbon2
metric_data_format prometheus
</match>
<match prometheus.datapoint**>
@type sumologic
endpoint "#{ENV['SUMO_ENDPOINT_METRICS']}"
data_type metrics
metric_data_format carbon2
metric_data_format prometheus
</match>
events.conf: |-
<source>
Expand Down