Skip to content

Commit 3fc41dc

Browse files
[monitor-query] Create monitor query track 2 package (Azure#15112)
* The initial version of the @azure/monitor-query package. This package lets you query the Azure Monitor query APIs for logs and metrics.
1 parent eace120 commit 3fc41dc

File tree

89 files changed

+9702
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+9702
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132

133133
# PRLabel: %Monitor
134134
/sdk/monitor/ @hectorhdzg @applicationinsights-js-owners @richardpark-msft
135+
/sdk/monitor/monitor-query @richardpark-msft @maorleger
135136

136137
###########
137138
# Tools

common/config/rush/pnpm-lock.yaml

Lines changed: 140 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rush.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,11 @@
501501
"projectFolder": "sdk/monitor/monitor-opentelemetry-exporter",
502502
"versionPolicyName": "client"
503503
},
504+
{
505+
"packageName": "@azure/monitor-query",
506+
"projectFolder": "sdk/monitor/monitor-query",
507+
"versionPolicyName": "client"
508+
},
504509
{
505510
"packageName": "@azure/dev-tool",
506511
"projectFolder": "common/tools/dev-tool",

sdk/monitor/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ extends:
3232
Artifacts:
3333
- name: azure-monitor-opentelemetry-exporter
3434
safeName: azuremonitoropentelemetryexporter
35+
- name: azure-monitor-query
36+
safeName: azuremonitorquery

sdk/monitor/monitor-query/.nycrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"include": [
3+
"dist-esm/src/**/*.js"
4+
],
5+
"exclude": [
6+
"**/*.d.ts",
7+
"dist-esm/src/generated/*"
8+
],
9+
"reporter": [
10+
"text-summary",
11+
"html",
12+
"cobertura"
13+
],
14+
"exclude-after-remap": false,
15+
"sourceMap": true,
16+
"produce-source-map": true,
17+
"instrument": true,
18+
"all": true
19+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (Unreleased)
4+
5+
- Initial release of the monitor-query library, allowing you to query Log Analytics Workspaces
6+
for logs and metrics.

sdk/monitor/monitor-query/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2020 Microsoft
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)