Code Monkey home page Code Monkey logo

Comments (3)

amit-y avatar amit-y commented on August 23, 2024

Hi @abdulrahman7818! From the query you ran, it appears you're looking for data from a day ago. When Neon queries data, it use the time range specified in the timepicker, located at the top right corner of the page. The default for the timepicker is 'last 30 mins.' When it queries data, and does not receive any records for that time range, it assumes all is well. If you want it to query from beyond the default, switch the time in the timepicker to an earlier time.
screenshot of timepicker

from nr1-neon.

abdulrahman7818 avatar abdulrahman7818 commented on August 23, 2024

Hi Amit,

Thank you for your response and sorry for the delay in reply.

I tried, but even then it's showing green. Could you please verify and let me know if you want me to attach the samples.

from nr1-neon.

amit-y avatar amit-y commented on August 23, 2024

Hi @abdulrahman7818,

The next time you see this happening, can you run this query, and verify that you're getting the right results from the query, please?

SELECT latest(current_state), latest(incident_id) FROM alert WHERE policy_name IN ('POLICY_NAME') FACET policy_name, condition_name SINCE 30 minutes ago LIMIT MAX

I'm assuming you're sending the notifications to the alert event, based on your screenshot. Also, replace POLICY_NAME with the name of the alert policy. You can also list multiple policy names within the parenthesis, comma separated, and with each policy name surrounded with single quotes.

If you're seeing a different output in the query you ran than what you're seeing in Neon, could you put in a ticket through New Relic support, please? I may need additional information to debug, and I'd rather not have your data show up here.

You can put in the ticket here: https://support.newrelic.com/new-ticket

from nr1-neon.

Related Issues (19)

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.