How can we help you today? How can we help you today?
HenryT

Activity overview

Latest activity by HenryT

Any way to tweak the subjects on notification e-mails from Monitor?
For example, if there is a failure with a custom metric, the subject is Custom metric collection error | XX  | server_name - XXI want the server name earlier in the e-mail, so I have a better idea ...
1 follower 1 comment 0 votes
Some more detail, and this may be in part a user error by me, but it doesn't seem very clear., The metric looks fine in analysis. I have three monitors in three locations, but this custom alert is only defined in one location—it is not the primary location.  I do a call to  http://MyWebInstance:8080/api/v1/metrics/types and I see the following containing 'Number of unused indexes'. I have three monitors, but only one has this metric.  {       "id": "[Cluster].[SqlServer].[Database].[CustomMetric].[MyNonPrimaryMonitorInstance:2]",       "name": "Number of unused indexes",       "category": "MyNonPrimaryMonitorInstance Custom metrics"     },     {       "id": "[AzureSqlServer].[Database].[CustomMetric].[MyNonPrimaryMonitorInstance:2]",       "name": "Number of unused indexes",       "category": "MyNonPrimaryMonitorInstance Azure custom metrics"     },     {       "id": "[AmazonRdsSqlServer].[Database].[CustomMetric].[MyNonPrimaryMonitorInstance:2]",       "name": "Number of unused indexes",       "category": "MyNonPrimaryMonitorInstance Amazon RDS SQL Server custom metrics"     },     {       "id": "[AzureManagedInstance].[Database].[CustomMetric].[MyNonPrimaryMonitorInstance:2]",       "name": "Number of unused indexes",       "category": "MyNonPrimaryMonitorInstance Azure SQL Managed Instance custom metrics"     },     {       "id": "[SqlServerInstance].[Database].[CustomMetric].[MyNonPrimaryMonitorInstance:2]",       "name": "Number of unused indexes",       "category": "MyNonPrimaryMonitorInstance SQL Server on Linux metrics"     }, This is the only relevant one I am assuming since the referenced instance is not RDS, Linux, or Azure  {       "id": "[Cluster].[SqlServer].[Database].[CustomMetric].[MyNonPrimaryMonitorInstance:2]",       "name": "Number of unused indexes",       "category": "MyNonPrimaryMonitorInstance Custom metrics"     }, When I do the call (I am specifying a metricTypeId only. ) http://MyWebInstance:8080/api/v1/metrics?metricTypeId=[Cluster].[SqlServer].[Database].[CustomMetric].[MyNonPrimaryMonitorInstance:2] I get data back only for my primary monitoring instance (which does not have this metric defined), so I suspect it is not using the server name specified in the MetricTypeID value.  These may  I suspect I have reached the level of opening a support call. / comments
Some more detail, and this may be in part a user error by me, but it doesn't seem very clear.,The metric looks fine in analysis.I have three monitors in three locations, but this custom alert is on...
0 votes