linode-cli icon indicating copy to clipboard operation
linode-cli copied to clipboard

Adding external plugin for ACLP-MR service

Open vivkumar-akamai opened this issue 2 months ago • 1 comments

📝 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: <redacted>'
--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 <redacted>', '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 avatar Oct 24 '25 11:10 vivkumar-akamai

@vivkumar-akamai Be aware that this is the public GitHub site, ~~and if your token is still valid, please hide it from the PR description you post here.~~ I just redacted them.

zliang-akamai avatar Nov 20 '25 16:11 zliang-akamai