Skip to content

Conversation

@vivkumar-akamai
Copy link

@vivkumar-akamai vivkumar-akamai commented Oct 24, 2025

📝 Description

This is linode CLI external plugin for ACLP-MR services. Here is how this requests going to looks like

Sample Command
linode-cli monitor-metrics-get --url 'https://mr-devcloud.cloud-observability-dev.akadns.net/v2beta/monitor/services/firewall/metrics'
--header 'Authorization: Bearer eyJhbGciOiAiZGlyIiwgImVuYyI6ICJBMTI4Q0JDLUhTMjU2IiwgImtpZCI6IDIsICJleHAiOiAxNzYyNDk5NzcxfQ..mZBA7PCPO0mI70rSwycEKQ.tw1l3aK3nlrQDsDTW7ew0ziMcjhukZFDT6VQ1WgTJJKuRuOxV_5ds7AcslyT32E82CblTr0dqdaOrkhMOkYSkbYE3XQHKTnmcxOrkFoIXlE4lVdZj1et6oYpVI1MzNT5Rod1uJdbMCVq2foMMU0zPK6n_CRk9vj0G-uSQhnOpgMtFkvMC_M00qYyx4S5SbFq1GKCBFvODXSnNilfSfdwUMWepZxHibLXJIPKLwoRuUbE4_YmWuDJVjTRn8PH0czwbXsUHVUrWfCr2S7HwVAIHc3rWptFtDEQKjqZeQATZPs0_8gGPEVqWWFjW8PPsuUdPl-aByoaXox7JKGLsknsMFaJY1-fl35iqru_KOxMux8.1eMkjtwm9etcVr2chlKySg'
--header 'Authentication-type: jwe'
--header 'Pragma: akamai-x-get-extracted-values'
--header 'Userid: 10001'
--header 'Content-Type: application/json'
--data '{"entity_ids":[1001], "relative_time_duration":{"unit":"min","value":60}, "metrics":[{"aggregate_function":"sum","name":"fw_ingress_bytes_accepted"}],"filters": [],
"associated_entity_region": "us-east", "time_granularity": {"value": 1, "unit": "days"}}'
['Authorization: Bearer eyJhbGciOiAiZGlyIiwgImVuYyI6ICJBMTI4Q0JDLUhTMjU2IiwgImtpZCI6IDIsICJleHAiOiAxNzYyNDk5NzcxfQ..mZBA7PCPO0mI70rSwycEKQ.tw1l3aK3nlrQDsDTW7ew0ziMcjhukZFDT6VQ1WgTJJKuRuOxV_5ds7AcslyT32E82CblTr0dqdaOrkhMOkYSkbYE3XQHKTnmcxOrkFoIXlE4lVdZj1et6oYpVI1MzNT5Rod1uJdbMCVq2foMMU0zPK6n_CRk9vj0G-uSQhnOpgMtFkvMC_M00qYyx4S5SbFq1GKCBFvODXSnNilfSfdwUMWepZxHibLXJIPKLwoRuUbE4_YmWuDJVjTRn8PH0czwbXsUHVUrWfCr2S7HwVAIHc3rWptFtDEQKjqZeQATZPs0_8gGPEVqWWFjW8PPsuUdPl-aByoaXox7JKGLsknsMFaJY1-fl35iqru_KOxMux8.1eMkjtwm9etcVr2chlKySg', 'Authentication-type: jwe', 'Pragma: akamai-x-get-extracted-values', 'Userid: 10001', 'Content-Type: application/json']
{'entity_ids': [1001], 'relative_time_duration': {'unit': 'min', 'value': 60}, 'metrics': [{'aggregate_function': 'sum', 'name': 'fw_ingress_bytes_accepted'}], 'filters': [], 'associated_entity_region': 'us-east', 'time_granularity': {'value': 1, 'unit': 'days'}}

Response
{
"data": {
"result": [],
"resultType": "matrix"
},
"isPartial": false,
"stats": {
"executionTimeMsec": 1,
"seriesFetched": "0"
},
"status": "success"
}

✔️ How to Test

What are the steps to reproduce the issue or verify the changes?

How do I run the relevant unit/integration tests?

📷 Preview

If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.

@vivkumar-akamai vivkumar-akamai requested a review from a team as a code owner October 24, 2025 11:17
@vivkumar-akamai vivkumar-akamai requested review from jriddle-linode and zliang-akamai and removed request for a team October 24, 2025 11:17
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

Successfully merging this pull request may close these issues.

2 participants