Azure / Azure/azure-rest-api-specs

Application Insights REST Demo App Metrics are Erroring

Open
#10,540 1 comment 0 reactions 0 assignees View on GitHub
customer-reported Monitor - ApplicationInsights needs-team-attention question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
6k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

Any /metrics query I try with the DEMO_APP is returning an InternalServerFault, for example:

```bash
curl "https://api.applicationinsights.io/v1/apps/DEMO_APP/metrics/exceptions/server" -H "x-api-key: DEMO_KEY"
```

```json
{"error":{"message":"Unexpected error occurred","code":"InternalServerFault","innererror":{"code":"InternalServerFault","message":"Something went wrong while running the query","correlationId":"b6b4496b-2b03-4ac7-b689-1a886e65bfc5"}}}%
```

Same when using the website https://dev.applicationinsights.io/apiexplorer/metrics?appId=DEMO_APP&apiKey=DEMO_KEY

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with the provided curl request and the Application Insights API Explorer, then inspect the repository's Application Insights metrics REST API specification. Done means the DEMO_APP metrics query returns a successful response instead of InternalServerFault.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
api, observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.