Delete CLoudwatch Custom Metric

0

Hi Team,

Is there a way to delete the custom metric in Cloudwatch which is configured with CWAgent.

Regards, Rajesh B

posta un anno fa3155 visualizzazioni
2 Risposte
0
Risposta accettata

Hi, there is no option to delete a metric in CloudWatch: when you stop sending a metric, it will disappear from the index after 2 weeks, although the data remains stored for 15 months (and can be queried using the GetMetricData API) as per CloudWatch retention policy (see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Metric). May I ask why do you want to delete a metric? What is your need for it?

profile pictureAWS
Jsc
con risposta un anno fa
profile pictureAWS
ESPERTO
verificato un anno fa
profile picture
ESPERTO
verificato un anno fa
  • Some of the custom metrics we are not using but we are getting billed for them. So wanted to delete them. We are not using them since many days but they are still there in CLoudwatch

0

Thanks for the details. Please note that you are not billed for a metric when you stop sending it. You only pay for a metric at the time you send data to it. The charges you already incurred in the month remain visible in your cost explorer, but there isn't any new charges added once you stop emitting the metrics.

If you see unexpected metric charges, it is more likely related to a metric that is still being emitted (maybe in another region), please feel free to reach out to support if that is the case and you need help identifying a metric that would still be emitted unexpectedly.

profile pictureAWS
Jsc
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande