@05789436 Hi, I understand what you're saying but this is an highly inappropriate way to talk to a volunteer. You can use it or not use it, like it or dislike it but this has gone too personal. Fork it if you can and keep moving, we have to be humble and respectful, there's absolutely no need to be rude.
Thanks.
I want to use the Docker in an ARM environment.
So I can run it on Raspberry Pi and Cloud ARM machines.
Can be built using a single command with buildx
but it does take a bit longer.
I'd love to help but I don't know which build system you're using. Thanks. @LetsCreatProjects
I'm pretty sure this is the default, we've used this one: https://grafana.com/grafana/dashboards/617-aws-ec2/
All those parameters you mentioned are preconfigured.
Hi @sarahzinger and thank you for your help :)
I don't need the Logs endpoint, I only need the metrics.
My problem is that even though I'm only querying metrics I'm getting an error as mentioned here so the only way for me to get a response is to leave the endpoint field empty.
Adding 2 optional endpoints is a good choice if I'm allowed to judge and will also mitigate the usage of the wrong endpoint (or the need to add two different data sources).
Thank you again :)
Hi @idastambuk my IAM role and the one you mentioned are identical, I've used the Metrics and Logs JSON to make sure that it won't fail in any case, it clearly doesn't work that way :)
I can even paste my role but I can assure you, it's identical.
@idastambuk When we first started facing this issue the server was in eu-east-1 and we had to move it to a different VPC in us-west-2, now the configuration is aligned as the following:
Maybe there's somewhere else I should change the region? In the INI maybe?
Hey @idastambuk,
I haven't since I'm not using the logs, only the metrics, it seems unrelated judging by the error.
This is the full error message:
unexpected error failed to call ec2:DescribeInstances, SerializationError: failed to unmarshal error message
status code: 400, request id: 15d6cded-5aad-4451-999f-0685dc6b7f72
caused by: UnmarshalError: failed to unmarshal error message
00000000 3c 45 72 72 6f 72 52 65 73 70 6f 6e 73 65 20 78 |<ErrorResponse x|
00000010 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 65 62 |mlns="http://web|
00000020 73 65 72 76 69 63 65 73 2e 61 6d 61 7a 6f 6e 2e |services.amazon.|
00000030 63 6f 6d 2f 41 57 53 46 61 75 6c 74 2f 32 30 30 |com/AWSFault/200|
00000040 35 2d 31 35 2d 30 39 22 3e 0a 20 20 3c 45 72 72 |5-15-09">. <Err|
00000050 6f 72 3e 0a 20 20 20 20 3c 54 79 70 65 3e 53 65 |or>. <Type>Se|
00000060 6e 64 65 72 3c 2f 54 79 70 65 3e 0a 20 20 20 20 |nder</Type>. |
00000070 3c 43 6f 64 65 3e 49 6e 76 61 6c 69 64 41 63 74 |<Code>InvalidAct|
00000080 69 6f 6e 3c 2f 43 6f 64 65 3e 0a 20 20 20 20 3c |ion</Code>. <|
00000090 4d 65 73 73 61 67 65 3e 43 6f 75 6c 64 20 6e 6f |Message>Could no|
000000a0 74 20 66 69 6e 64 20 6f 70 65 72 61 74 69 6f 6e |t find operation|
000000b0 20 44 65 73 63 72 69 62 65 49 6e 73 74 61 6e 63 | DescribeInstanc|
000000c0 65 73 20 66 6f 72 20 76 65 72 73 69 6f 6e 20 32 |es for version 2|
000000d0 30 31 36 2d 31 31 2d 31 35 3c 2f 4d 65 73 73 61 |016-11-15</Messa|
000000e0 67 65 3e 0a 20 20 3c 2f 45 72 72 6f 72 3e 0a 20 |ge>. </Error>. |
000000f0 20 3c 52 65 71 75 65 73 74 49 64 3e 31 35 64 36 | <RequestId>15d6|
00000100 63 64 65 64 2d 35 61 61 64 2d 34 34 35 31 2d 39 |cded-5aad-4451-9|
00000110 39 39 66 2d 30 36 38 35 64 63 36 62 37 66 37 32 |99f-0685dc6b7f72|
00000120 3c 2f 52 65 71 75 65 73 74 49 64 3e 0a 3c 2f 45 |</RequestId>.</E|
00000130 72 72 6f 72 52 65 73 70 6f 6e 73 65 3e 0a |rrorResponse>.|
caused by: expected element type <Response> but have <ErrorResponse>null
HTML Only:
<ErrorResponse xmlns="http://webservices.amazon.com/AWSFault/2005-15-09">
.
<Error>
.
<Type>Sender</Type>
. <Code>InvalidAction</Code>.
<Message>Could not find operation DescribeInstances for version 2016-11-15</Message>
.
</Error>
.
<RequestId>15d6cded-5aad-4451-999f-0685dc6b7f72</RequestId>
.
</ErrorResponse>
.
According to AWS it's the wrong endpoint but I'm pretty certain that this is the right region so I'm not sure it's the same case.
Yup, It's in pretty good shape :) There are some minor glitches in the UI which are not breaking usability so I'm thinking whether it's worth reporting. Also, there's some problem with Weblate and for some reason when I'm translating Kimai it is terribly slow, it works well for all other projects so I'm not really sure what's wrong.
Sure @idastambuk.
I'm using a dashboard that is a derivative of the default EC2 dashboard, single internal endpoint configured (leaving the field blank doesn't cause these errors, Grafana version 9.3.6):
Hey @idastambuk, Thank you for the quick response :)
I totally agree, it makes sense yet I"m also seeing error when trying to present the graph, otherwise it wouldn't be so critical.
Looking back at #31402 I can see that there was a proposal to allow specifying 2 distinct endpoints instead of 1. I thought about tinkering with the code but I faced two issues:
I support separating the endpoints as I believe that it will avoid errors all at once (Leaving blank and specifying endpoint manually shouldn't lead to and error in any case unless a wrong URL was specified).
Thanks :)
It's easier to manage from security perspective by allowing having a single identity per employee and auditing (SAML is a good example, think about controlling the paper type and color/b&w centrally in that case). OpenID Connect is usually for public services authentication such as Google, Facebook, etc., I don't think it's mandatory for such project.
We ran into this problem as well but adding to different data sourced still leads to an error and the data is not fetched. Described in #63420.
Well according to AWS Support team, there are 2 different Endpoints: monitoring.amazonaws.com logs.amazonaws.com
Selecting either of them as the single endpoint will cause the other one to fail. When leaving this field blank there's no such issue since the Grafana backend is using 2 different endpoints for this query which I can't specify as a user.
The screenshots from the support team:
Those lines are not automatically generated and replaced according to a base template?
Typo fixed
Update Channel.js
Typo fixed
Fixed typo
Update translation.py
Fixed typo
Fixed typo
Update translation.py
Fixed typo
Fixed typo
Fixed typo
Update base.html
Fixed typo
Update index.html
Fixed typo
Some initial packaging attempt
Hi @tiangolo and thank you for your incredible work!
Well, it's a matter if perspective, if we'd like programmers and highly skilled technical people to translate or we'd like to lower the barrier and allow people that haven't committed, pushed or pulled to any VCS in their entire lives to be able to contribute.
I'm not saying that only people with low set of skills will contribute but allowing them is a great opportunity to grow the community.
Furthermore, the translation process is a lot easier as the translator can use translation memory and get inspiration from other languages which is way more complicated to achieve without these systems.
There are numerous open source and free translation platforms so it's not even a matter of hosting or resources. Thanks 😄