Coder Social home page Coder Social logo

Comments (5)

muhammad-irfan-xgrid avatar muhammad-irfan-xgrid commented on September 18, 2024

Reason: Reading parameter in lambda function name cost most expensive services. Error is shown below. This lambda is responsible getting most expensive services for each region and then push cost metric to Prometheus and S3 bucket. But while reading regions name it throw error give below.

Image

Image

from xc3.

muhammad-irfan-xgrid avatar muhammad-irfan-xgrid commented on September 18, 2024

Parameter Reading Error: We have to create Parameter in SSM whioch store regions name. then this issue is resolved.

Image

from xc3.

muhammad-irfan-xgrid avatar muhammad-irfan-xgrid commented on September 18, 2024

Region variable issue: When we use region in query as variable than data not found. But when I test it by writing any specific region name instead of using variable. we are getting data.

Image

from xc3.

muhammad-irfan-xgrid avatar muhammad-irfan-xgrid commented on September 18, 2024

Solution: Need to updated query and remove code of region name reading from SSM paramter from lambda fucntion: cost_of_most_expnesive service.
Results.

Image

from xc3.

muhammad-irfan-xgrid avatar muhammad-irfan-xgrid commented on September 18, 2024

Final Solution: Don't remove any code just update query as below in json file and creaet SSM parameter with "/{namespcae}/region_names" and value should be as we ahve in "/xc3/region_names".

from xc3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.