question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adjust validation if Metric and MetricNamespace monikers to ingestion requirements

See original GitHub issue

The naming restrictions for metrics are stricter at the new endpoint compared to the AppInsights unauthenticated endpoint. The existing (stable) APIs should not be changed (back-compat). However new pre-aggregation APIs should fail-fast when invalid monikers are used. We have already included some of this validation into the first Beta, but we need to re-align them with the public endpoint shipped version:

  • Metric Namespace moniker may be exceed 256 characters.
  • Metric Name moniker may be exceed 256 characters.
  • Metric Namespace may not start with “Microsoft.”.
  • Metric Namespace may not be equal to any of the following: – GenevaKustoQosLogsToMetricsQosMdmQosRecoveryService/V2MonitorSLAWarmPathQos

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
macrogregcommented, Apr 13, 2018

Ok. I’ll take a look. If I do not find anything, I will create a generic internal utility that can be used by other places too, but I may not have capacity to go through similar usages elsewhere and rewire them to use the generic solution.

It’ll be something similar to:

string EnsureValidMoniker(string moniker, int maxLen, char[] invalidChars, char asciiEscape);

Works?

0reactions
github-actions[bot]commented, Sep 25, 2021

This issue is stale because it has been open 300 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently asked questions about Azure Monitor metric alerts
Considerations when creating an alert rule that contains multiple criteria. You can only select one value per dimension within each criterion.
Read more >
post — OCI CLI Command Reference 3.30.2 documentation
A value of ATOMIC requires a full pass: all metric objects in the request must pass input validation. Example: NON_ATOMIC. Accepted values are:...
Read more >
Metrics
Post metrics data so it can be graphed on Datadog's dashboards; Query metrics from any time period; Modify tag configurations for metrics; View...
Read more >
Amazon CloudWatch Cheat Sheet
Monitoring tool for your AWS resources and applications. Display metrics and create alarms that watch the metrics and send notifications or ...
Read more >
Configure CloudWatch inputs for the Splunk Add-on for AWS
Configure separate CloudWatch inputs for each metric or set of metrics that have different minimum granularities, based on the sampling ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found