Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3rd Party apps] Cost data not available for Amazon RDS #102

Open
DamienCSFR opened this issue Oct 28, 2021 · 13 comments
Open

[3rd Party apps] Cost data not available for Amazon RDS #102

DamienCSFR opened this issue Oct 28, 2021 · 13 comments
Assignees
Labels
bug Something isn't working opensource enablement P2

Comments

@DamienCSFR
Copy link

DamienCSFR commented Oct 28, 2021

Description

The cloud Optimizer is not showing any data for an Amazon RDS entities or on the Workloads section

Assessment

The issue here with the cost is maybe only a configuration issue. There is something not communicating to identify the customers engines to grab costs from an API so no calculations can be rendered.

Steps to Reproduce

On the Amazon RDS entities, it show 21 entities but when we click , there is no data
image
image

When clicking on the workload section, we can choose the dedicated workload created for the occasion but it ask to enter manualy the costs.
image

Expected

We were expected to get the cost data automatically

@DamienCSFR DamienCSFR added the bug Something isn't working label Oct 28, 2021
@jpvajda jpvajda added the P2 label Oct 28, 2021
@jpvajda jpvajda changed the title Cost data not available [3rd Party apps] Cost data not available for Amazon RDS Oct 28, 2021
@jpvajda
Copy link

jpvajda commented Oct 28, 2021

Evaluating urgency on this issue with @DamienCSFR

@jpvajda jpvajda self-assigned this Oct 28, 2021
@jpvajda
Copy link

jpvajda commented Oct 28, 2021

from @LizBaker i’ve been poking around and when i impersonate the user i see a lot of console logs saying the instances have no pricing data. i checked out their rds entities and i see none of them have an engine listed. the app needs to know the engine being used (mysql, redis, etc) in order to get the pricing data. however, i’m not sure how new relic normally gets the engine. seems like something that would happen automatically with integration, but maybe it’s something you set in a configuration.

@jpvajda jpvajda moved this from To do to In progress in Developer Enablement Team Oct 28, 2021
@jpvajda jpvajda added the sp:2 label Oct 28, 2021
@jpvajda
Copy link

jpvajda commented Oct 28, 2021

@Kav91 may have some insights into this issue.

@Kav91
Copy link
Member

Kav91 commented Oct 29, 2021

Hi @DamienCSFR can you share what database/engine setup you are experiencing the issue with?
Trying to think how best to replicate your situation so we can debug this one better.

@jpvajda jpvajda removed the sp:2 label Nov 2, 2021
@jpvajda jpvajda removed this from In progress in Developer Enablement Team Nov 2, 2021
@jpvajda jpvajda added this to Feature Backlog in NR1 3rd Party Nerdpack Community via automation Nov 2, 2021
@jpvajda jpvajda moved this from Feature Backlog to In progress in NR1 3rd Party Nerdpack Community Nov 2, 2021
@biohazardvos
Copy link

Hello, @Kav91! We're using MariaDB RDS. None of reported to the NewRelic instances has pricing information.

@Kav91
Copy link
Member

Kav91 commented Dec 30, 2021

@biohazardvos I'm not able to replicate the issue I just spun up a db.t3.micro mariadb RDS instance and it appears with pricing information.

image

Can you click on Amazon RDS, then show optimization candidates and then screenshot the table below or at least the row where the mariadb instance is, or share that it isn't in that table.

Also are you able to do the below NRQL Query update the database name, change the chart type to JSON and then provide me the output please.

SELECT * FROM DatastoreSample WHERE provider='RdsDbInstance' AND entityName = 'yourDatabaseName' LIMIT 1

The third screenshot you have is a feature you should not be using for RDS cost analysis, this is to help estimate on-premise based costs. So do not use that for this scenario.

@biohazardvos
Copy link

Hello!
@Kav91 here are the results:

  • Page loading
    nr_1
  • Page data
    nr_2
  • Query result
    nr_3

@Kav91
Copy link
Member

Kav91 commented Jan 3, 2022

@biohazardvos if you're not getting anything from the query result your issue is not to do with Cloud Optimize at all then.
You need to check if the AWS integration is correctly configured for your account, and the entity is reporting in the platform.
If the entity is reporting then you need to confirm if DatastoreSample's are being generated for that entity as you were doing above.

@biohazardvos
Copy link

@Kav91 it is configured -- I can see EC2 instances info and total number of RDS instances. How can I check if DatastoreSample's are being generated?

@Kav91
Copy link
Member

Kav91 commented Jan 3, 2022

@biohazardvos with that same query above but you need to update the query with your database/entity name instead.

@biohazardvos
Copy link

biohazardvos commented Jan 3, 2022

@Kav91 When I'm filling in the entityName = '', it shows me all ARNs of our RDS instances. But when I'm choosing any of them -- the result of the query is the same as on the screenshot above.

@jpvajda jpvajda moved this from In progress to Bugs in NR1 3rd Party Nerdpack Community Feb 2, 2022
@jpvajda jpvajda moved this from Bugs to In progress in NR1 3rd Party Nerdpack Community Feb 2, 2022
@jpvajda jpvajda moved this from In progress to Bugs in NR1 3rd Party Nerdpack Community Feb 11, 2022
@jpvajda
Copy link

jpvajda commented Feb 15, 2022

@Kav91 👋 I was just checking in on this issue to see if you still had some time to assist @biohazardvos. It was reported to still be an issue on this related bug that was resolved in October. Let me know if there is anything I can do to assist in this resolution.

@jpvajda jpvajda self-assigned this Feb 15, 2022
@jpvajda jpvajda moved this from To do to Tentative next in Developer Enablement Team Feb 15, 2022
@jpvajda jpvajda moved this from Tentative next to In progress in Developer Enablement Team Feb 15, 2022
@jpvajda jpvajda assigned DamienCSFR and unassigned jpvajda Feb 17, 2022
@jpvajda jpvajda removed this from In progress in Developer Enablement Team Feb 17, 2022
@jpvajda jpvajda moved this from Bugs to In progress in NR1 3rd Party Nerdpack Community Feb 17, 2022
@jpvajda
Copy link

jpvajda commented Feb 17, 2022

After discussing this issue with @DamienCSFR and @Kav91 the next steps are that @DamienCSFR is going to look to find someone at New Relic who can assist on this question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working opensource enablement P2
Development

No branches or pull requests

5 participants