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

Can I get custom.metrics.k8s.io how? #22

Open
rgalexey opened this issue Jul 18, 2019 · 1 comment
Open

Can I get custom.metrics.k8s.io how? #22

rgalexey opened this issue Jul 18, 2019 · 1 comment

Comments

@rgalexey
Copy link

I have prometheus which used to get custom metrics
Example of install here https://github.com/tprakash17/EKS-custom-metrics-auto-scaling
Any way I can get those custom metrics pushed as well?

@rgalexey rgalexey changed the title Can I get custom.metrics.k8s.io so how? Can I get custom.metrics.k8s.io how? Jul 18, 2019
@rgalexey
Copy link
Author

Tried to point to prometeus server metric 10.100.131.166:9090 as PROMETHEUS_SCRAPE_URL: "http://10.100.131.166:9090/metrics"

Here is my prometeus services
monitoring mon-prometheus-node-exporter ClusterIP 10.100.141.112 9100/TCP 3h8m
monitoring mon-prometheus-operator-alertmanager ClusterIP 10.100.143.239 9093/TCP 3h8m
monitoring mon-prometheus-operator-operator ClusterIP 10.100.190.243 8080/TCP 3h8m
monitoring mon-prometheus-operator-prometheus ClusterIP 10.100.131.166 9090/TCP 3h8m
monitoring prometheus-operated ClusterIP None 9090/TCP 3h8m

But got errors :(
Bad luck
019/07/18 15:51:54 prometheus-to-cloudwatch: error publishing to CloudWatch: InvalidParameterValue: The value � for parameter MetricData.member.3.Value is invalid.
The value � for parameter MetricData.member.4.Value is invalid.
The value � for parameter MetricData.member.5.Value is invalid.
The value � for parameter MetricData.member.6.Value is invalid.
The value � for parameter MetricData.member.7.Value is invalid.
The value � for parameter MetricData.member.8.Value is invalid.
status code: 400, request id: f72830bb-a973-11e9-8efe-1f86e35c39e1
2019/07/18 15:51:54 prometheus-to-cloudwatch: error publishing to CloudWatch: RequestEntityTooLarge: Request size 328012 exceeded 40960 bytes
status code: 413, request id: f75affc0-a973-11e9-8431-d75ee583ed60
2019/07/18 15:52:14 prometheus-to-cloudwatch: error publishing to CloudWatch: InvalidParameterValue: The value � for parameter MetricData.member.3.Value is invalid.
The value � for parameter MetricData.member.4.Value is invalid.
The value � for parameter MetricData.member.5.Value is invalid.
The value � for parameter MetricData.member.6.Value is invalid.
The value � for parameter MetricData.member.7.Value is invalid.
The value � for parameter MetricData.member.8.Value is invalid.
status code: 400, request id: 0306d36f-a974-11e9-912e-11f123f7823f
2019/07/18 15:52:14 prometheus-to-cloudwatch: error publishing to CloudWatch: RequestEntityTooLarge: Request size 328032 exceeded 40960 bytes
status code: 413, request id: 03386a7a-a974-11e9-a0f5-b390ff796e9a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant