Add AOM to EPMon#151
Open
petererdosi wants to merge 3 commits into
Open
Conversation
Aloento
previously approved these changes
Jul 13, 2024
vladimirhasko
requested changes
Jul 15, 2024
| antiddos_skip_bad_type: | ||
| service_type: AntiDDoS | ||
| urls: [] | ||
| aomv1: |
Member
There was a problem hiding this comment.
please add these elements also in
https://github.com/opentelekomcloud-infra/stackmon-config/blob/sd-fix/config.yaml
in each env you want to see them available
Aloento
approved these changes
Jul 17, 2024
vladimirhasko
requested changes
Dec 2, 2024
| service_type: aomv1 | ||
| sdk_proxy: aomv1 | ||
| urls: | ||
| - /inv/servicediscoveryrules |
Member
There was a problem hiding this comment.
still this api is broken
>>> conn.aomv1.get('/inv/servicediscoveryrules')
REQ: curl -g -i --insecure -X GET https://aom.eu-de.otc.t-systems.com/v1/31f1045e2a2a440c8db154707e7f9e32/inv/servicediscoveryrules -H "User-Agent: openstacksdk/4.1.0 keystoneauth1/5.8.0 python-requests/2.32.3 CPython/3.10.12" -H "X-Auth-Token: {SHA256}a8930284e3de803c61c36bcae4536222a7fdf1d49c223fb4fb18fc917bdc0390"
RESP: [500] Connection: keep-alive Content-Type: application/json Date: Mon, 02 Dec 2024 07:40:34 GMT Server: api-gateway Set-Cookie: ingress-apm-apm-inventory-8150=78a4c4f7c1617c0bdba44190e46036d0; Path=/; Secure; HttpOnly Strict-Transport-Security: max-age=31536000; includeSubdomains; Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-Download-Options: noopen X-Frame-Options: SAMEORIGIN X-Request-Id: cda9fed331bf7da46de1fa1a24686edd X-XSS-Protection: 1; mode=block;
RESP BODY: {"error_code":"APM.00000500","error_msg":"Internal Server Error","trace_id":""}
<Response [500]>
| service_type: aomv2 | ||
| sdk_proxy: aomv2 | ||
| urls: | ||
| - /alarm-rules |
Member
There was a problem hiding this comment.
and this api has wrong header required
>>> conn.aomv2.get('/alarm-rules')
REQ: curl -g -i --insecure -X GET https://aom.eu-de.otc.t-systems.com/v2/31f1045e2a2a440c8db154707e7f9e32/alarm-rules -H "User-Agent: openstacksdk/4.1.0 keystoneauth1/5.8.0 python-requests/2.32.3 CPython/3.10.12" -H "X-Auth-Token: {SHA256}a8930284e3de803c61c36bcae4536222a7fdf1d49c223fb4fb18fc917bdc0390"
RESP: [400] Connection: keep-alive Content-Type: application/json Date: Mon, 02 Dec 2024 07:41:21 GMT Server: api-gateway Strict-Transport-Security: max-age=31536000; includeSubdomains; Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-Download-Options: noopen X-Frame-Options: SAMEORIGIN X-Request-Id: 8636f961a6b49e8c938676a6058dd429 X-XSS-Protection: 1; mode=block;
RESP BODY: {"error_msg":"Orchestration error: Invalid header parameter: Content-Type, required","error_code":"APIGW.0106","request_id":"8636f961a6b49e8c938676a6058dd429"}
<Response [400]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First I would like to check if it's working properly or not. If yes, then I will do the dashboard/metric part.