4,928 questions
1
vote
0
answers
70
views
How to solve "invalid format of evaluation results for the alert definition" error?
I have this promQL query:
label_replace(
histogram_quantile(
0.99,
sum(
rate(
http_request_duration_seconds_bucket{
env="dev&...
2
votes
1
answer
139
views
How to schedule a full-screen reminder/alarm notification in Flutter for iOS when the app is killed (like attendance reminder)? [closed]
I’m trying to implement an alarm-style reminder notification in Flutter that should trigger even when the app is killed on iOS similar to an attendance reminder or wake up alarm screen.
I’ve added the ...
1
vote
0
answers
106
views
DIST Alert Data Extraction Issue
I am trying to extract data about the DIST Alerts using the following script:
import requests
API_KEY = ''
API_BASE = "https://data-api.globalforestwatch.org"
DATASET = "...
-6
votes
1
answer
132
views
SwiftUI alert @Binding view model isn't found in my view
I'm getting an Xcode error:
Cannot find $loginVM in scope.
I here's the simplified viewModel
import Foundation
import SwiftUI
@Observable
class LoginViewModel {
var showApiAlert: Bool = false
...
0
votes
0
answers
63
views
Alerting in Datadog with two different logs
Is it possible to send alerts in datadog with two different logs : For example one log that contains "card declined" and follow up log message which says "card expired" I want to ...
1
vote
1
answer
76
views
How to change alert language in React Native
I'm working on a React Native project where I'm implementing language switching. However, I'm having trouble figuring out how to change the language used in the alert messages.
I'll share the relevant ...
0
votes
0
answers
61
views
Intra candle alert 5 minutes chart
so I have written a script for a trading view strategy and am very happy with the outcome. I have attached this to an EA to which buy, sell and close signals come through great!
I have a problem with ...
1
vote
1
answer
129
views
How to get dynamic variable value in alert messages with placeholder
{{alertcondition.message}} does not work:
My Alert Script (pineversion=5):
INalIDAMlong = input.string("long", title="long Alert", group="Alert Messages")
...
0
votes
1
answer
117
views
SwiftUI – How to dismiss a .sheet after user taps "OK" on a purchase confirmation alert?
I'm using StoreKit 2 to handle in-app purchases in my SwiftUI app. After the user successfully buys lifetime access, I show a confirmation Alert with an "OK" button. However, even after ...
1
vote
1
answer
46
views
How to get the French tooltip text button to work? It works in English and German
HTML Newbie here
I want a button that uses the normal encoding, and also displays French. However, there are also some apostrophes (French altert texts is: Dans l'envelope.), so naturally I escaped ...
0
votes
1
answer
94
views
Where to launch sheet confirming subscription purchase in SwiftUI [duplicate]
When a user purchases a subscription on the App Store and the system sends back a dialog confirmation, "You're all set". I have been using this to launch my own alert that says ...
0
votes
1
answer
73
views
Selenium Driver can't switch to Alert
In my tests (running on Chrome), there are some scenarios when I click on a call-to-action button, then I am redirected to another page where basic authentication alert is present and I need to login.
...
0
votes
1
answer
136
views
Problem executing Trailing Stop alerts (Pine Script)
I'm a MasterComander user, although I'm not an expert yet, by any means.
I'm working on a script (Pine Script) and would appreciate help correcting it. I'm trying (unsuccessfully) to trigger an alert ...
0
votes
1
answer
61
views
Detect duplicate modifiers in swiftui?
In my particular case I faced a problem in swiftui which doesn't allow to add more than 1 alert to the same View. This problem is known and is already resolved for example by adding additional empty ...
0
votes
0
answers
64
views
Loki Alerting: Retrieving Contextual Log Lines (Before/After Error)
"I’m trying to set up Loki alerts that include the AKS pod log lines immediately before and after an error event (similar to the ‘context’ feature in Grafana Explore). Is this possible within ...
0
votes
2
answers
365
views
I need to use some query results in an alert email notification in Azure ApplicationInsights
Ok I have an Application Insights resource where I am able to monitor the logs with this query:
exceptions
| where severityLevel >= 4
| where timestamp > ago(30m)
| project timestamp, type, ...
0
votes
0
answers
28
views
Overriding window.alert() doesn't seem to work [duplicate]
I have a recalcitrant alert() box I'm trying to troubleshoot in Chrome. I tried overriding alert(), confirm() and prompt() to trigger a debugger; statement, but no matter what I do, I cannot hit that ...
1
vote
2
answers
57
views
How to switch to the new window which immediately throws an alert?
I'm trying to automate a scenario where I click on an action that launches a pop up window, but this new window doesn't load, because it throws a browser alert (that's expected).
Alert
I need to ...
0
votes
1
answer
130
views
How to create an Alert Rule for Scale Up/Down in Azure Application Gateway Autoscale?
I am trying to create an alert rule for my Azure Application Gateway instance that triggers when the instance scales up or scales down in autoscale. My current configuration sets the minimum instance ...
0
votes
0
answers
78
views
Looker dashboard or (visual of dashboard) broken alert using looker 4.0 API
In our company we have developed around 100+ dashboards where each dashboard has one or more visuals/graphs. I want to create an alert system using looker api (4.0) so that whenever dashboard or a ...
1
vote
2
answers
64
views
How do you try to reload the alert after it has been viewed?
When this code runs, this alert is not displayed when the page reloads. I want to make the page reload after the alert appears.
// sweetalert framework
swal({
title: "Good job!",
...
0
votes
1
answer
256
views
Why is my Azure Monitor Alert table empty?
I set up a few alerts as log searches over my LAW. They work fine, but I am trying to find a queryable log of firing or changing state, for which I am looking into Alert table. As per the ...
0
votes
1
answer
50
views
Pinescript Strategy Alert Triggered when market closed
My strategy was made for the Daily Timeframe but the alert is triggered at 3:00pm instead of been triggered tomorrow when the market is open how can I fix my script
Strategy
chaikin_length_short = ...
0
votes
1
answer
48
views
Timeout on Alert.Accept method
The website that I am testing has a logout button.
When I click the logout button there is an Alert popup
When I Accept the popup the Accept hangs for a long time
I think the Accept times out
How can ...
0
votes
1
answer
91
views
Deny Savings Plan Creation and Set Up Alerts for Policy Violations in Azure Using Terraform
Using Terraform, I want to deny the creation of savings plans outside of the singular Prod subscription and get an email whenever an attempt is made. We have more than 10 subscriptions in the tenant ...
0
votes
0
answers
45
views
Azure: Set an alert rule, that fires if a treshold was surpassed for 10 out of the last 30 days?
Question: How to set an alert rule, that fires if a treshold was surpassed for 10 out of the last 30 days?
Background: I have a query that looks if i have more node pools than reserved. The query and ...
-1
votes
2
answers
79
views
Alert Box for webpage. Javascript/HTML
I'm working on an assignment for school and it's asking me to create an alert for two email addresses being different. What I have works as far as giving an alert when the two emails are different, ...
1
vote
1
answer
157
views
Handle dialogs with Selenium 4 when BiDi is enabled
The BiDi introduced in Selenium 4 sounds interesting.
But when I turn it on with options.setCapability("webSocketUrl", true); I have trouble with Alert, Model, and Prompt. The old way driver....
0
votes
1
answer
62
views
Handling Alert/Pop-up Selenium Java. Simple Google example code
I cannot seem to find a way to get these alerts on my work fixed using my old code. So if anyone could help with this simple code it would be great so I can move it to mine.
When the automation google ...
0
votes
1
answer
38
views
Client script not executing on invoice record
I have created simple client script and deployed on both invoice and item fulfillment record. The script is execution on item fulfillment, I can see alert. But same script is not execution on invoice.
...
2
votes
0
answers
308
views
Is it possible to disable a Prometheus Alert without removing it?
I would like to know how to disable a Prometheus Alert without deleting it please.
I thought about adding "AND false" at the end of the alert query, but I'm not sure if this approach will ...
0
votes
1
answer
726
views
Creating an alert rule for every new Deadletters in service bus
I'm trying to create a new alert rule that will send an email every time a new dead letter appears in my topics in the service bus.
Initially, I tried searching for a solution at the subscription ...
0
votes
1
answer
52
views
Alert not showing after back from Safari to Home Screen in SwiftUI
I am showing Alert message to update my app to latest version so in alert Update button i am opening my Appstore app link in safari page. here when i click update button Appstore link opens in safari ...
0
votes
0
answers
23
views
How to display beforeunload as alert box instead of a warning to leave page [duplicate]
I am trying to stop users from moving onto next page unless they click on a checkbox. I have used beforeunload to trigger the "do you want to leave the site". However, I would rather get rid ...
1
vote
2
answers
622
views
Error In Flutter App : Bad notification for startForeground
I have been working on flutter app, flutter background services to make the notification check for alert and the user gets notification if got alert every 15 seconds. The problem I am facing is the ...
0
votes
1
answer
238
views
Managing several Alerts for the same Button while avoiding the deprecated Alert struct and using the instance method instead [closed]
Before Alert became deprecated, I used to manage different Alerts of a View by introducing an AlertState:
enum AlertState: Identifiable {
case associatedIngredient
case confirmDelete
...
-1
votes
1
answer
150
views
How do I create a notification that shows up when a user leaves a tab or page?
I am looking to create a function that would remind users to stay on a webpage. As such, when they click another browser tab (or even better, when they leave the browser), I want to be able to inform ...
2
votes
0
answers
191
views
Alerts mail are not coming from alert manager even after configured it correctly
alertmanager.yml
route:
group_by: Mail alert
receiver: [email protected]
receivers:
- name: Mail alert
email_config:
- to: [email protected]
from: [email protected]
...
0
votes
1
answer
427
views
How to change alert style in .Net MAUI Android?
I am porting an application from Xamarin to .Net MAUI, In Xamarin I was using a light theme in Android, so the alerts had a white background but in MAUI the alerts have a gray background.
How can I ...
-1
votes
1
answer
130
views
SwiftUI Alert can't be triggered from subview
I find myself with several Alert boxes in my app for various purposes. In pursuit of the goal of DRY (don't repeat yourself), I want to centralize this code. My naieve approach is to write a ViewModel ...
0
votes
1
answer
44
views
React not rendering alert when confirming comment deletion in modal
Context: interactive comment section CRUD app
When deleting a comment, the user clicks a Delete button which opens a modal to ask them to confirm the deletion. That part (the modal opening/closing and ...
-1
votes
1
answer
120
views
How to create multiple javascripts have the same notification
Here are two JavaScripts. There is also a notification script.
I want to combine two javascripts in one and have both javascripts show the same notification.
This is the two different javascripts with ...
-2
votes
2
answers
123
views
JS Alert on pageload
I want to create an alert / message that shows me the users geodata after the page has been loaded.
Here ist the script for the geolocation that I want to be
displayed in the alert.
<script>
...
0
votes
1
answer
72
views
Problems sending 3 alerts at once to pineconnector
I´m trying to use tradingview pinescript for algotrading, and I use pineconnector to connect with my Metatrader account.
I pretend to send 3 alerts at once, one per each partial TP for a given entry ...
0
votes
1
answer
56
views
Limit Restart Attempts in Self-Healing Process for Application on EC2
The idea is that it would be default behaviour for "self healing" or "restart" procedure:
The applicaiton is down -> Grafana Alert triggers a webhook -> Jenkins job restarts ...
0
votes
1
answer
182
views
How to get all alerts for an alert rule in azure using python client
In my Python 3.11 program I manage to fetch all alert_rules in Azure like so:
def alert_rules(self, tag:str = None):
processed = list()
try:
rules = list()
# List all Metric ...
-1
votes
1
answer
40
views
how to print a specific text from an alert when there are multiple text in popup using selenium-JAVA?
how to print a specific text from an alert when there are multiple text in popup using selenium webdriver-JAVA?
i tried with get text from alert after switching to alert. but there is an way to do it ...
0
votes
1
answer
55
views
Assistance required with specific alert conditions on a complex pine script
i have attempted to add alerts to the following Pivot point script but i can't get it to function correct.
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https:/...
-1
votes
1
answer
60
views
How to add this conditions to alert ? - Pine script tradingview
My condition is i want the alert to notify me when there is a candle that closes more than 1% in upward or downward move.
i tried various things but could'nt figure it out. i want the exact pine ...
2
votes
1
answer
628
views
How to properly use #is_match with eval(...) when creating monitors?
I am trying to create a monitor in Datadog that, when triggered, sends an alert message to a Slack channel and to my e-mail. However, the message should be sent to Slack only during working hours.
At ...