R2 Operation Cost

What is the name of the domain?

x.com

What is the issue you’re encountering

I have a question about R2 metrics. I am using the GetObjectCommand option in the TypeScript @aws-sdk/client-s3 package to retrieve a JSON file. Both class A and class B are increasing. Shouldn’t only class B be increasing?

In what area can we help you?

I don’t know

Screenshot of the error

Ekran görüntüsü 2024-07-14 100556.png

Listing and viewing files on the dashboard also counts as operations.

I viewed the dashboard 10-15 times in total. Isn’t that too much?
I have one bucket and one file.

My code;

     const command = new GetObjectCommand({
        Bucket: R2_BUCKET_NAME,
        Key: CONFIG_FILE_NAME,
      });

      console.log(command);

      const response = await client.send(command);

      const data = await streamToString(response.Body as Readable);

This topic was automatically closed after 15 days. New replies are no longer allowed.