Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[monitor-query] monitor query track 2 #15112

Merged
merged 53 commits into from
May 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
fb0454c
The initial version of the @azure/monitor-query package.
Apr 27, 2021
e7825d5
clean update from master + my local changes for rush.json
May 18, 2021
8d2f116
- Removing unneeded things now that I'm using the recorder
May 18, 2021
a303658
Fixing formatting (and thus fixing lint breakages!)
May 18, 2021
5c47a4e
Trying to get some consistent live testing in place
May 19, 2021
6530491
Disable the browser tests until I figure out the rollup issue
May 19, 2021
0fe5a56
Fixing some spots with `template` in them
May 19, 2021
d9674cf
Starting the work of writing the readme
May 19, 2021
f6865b7
remove example readme
May 19, 2021
006bad0
Updating the main package readme to actually be useful.
May 19, 2021
5b042d8
Updating typescript samples
May 19, 2021
cd6b2d8
JS samples, auto generated using dev-tool
May 19, 2021
a07d9d5
Getting samples into the new layout (samples-dev is the source, sampl…
May 19, 2021
87de856
Eliminating some more 'template' detritus.
May 19, 2021
b5f6381
Updating package.json description to mention the actual thing, and no…
May 19, 2021
6a13dbf
- Scrub out en-us from links in readme
May 19, 2021
d0c90c6
- Fix sample logic to throw before we create the client or credential…
May 19, 2021
abaf068
Use a falsy check for args in formatPreferHeader
May 19, 2021
ae584e6
Adding the standard troubleshooting section for the Azure logger.
May 19, 2021
fc5870c
Incorrect syntax on link
May 19, 2021
5083b81
"Fix" dead links using the comment syntax recommended in the guidelines.
May 19, 2021
c82eafc
Sorting imports
May 19, 2021
9abaa32
- Move durations into a constant object, rather than having them all …
May 20, 2021
90a1e4a
Remove direct string constant access and use the very interestingly n…
May 20, 2021
edfc23f
- Removing some more generated models in favor of "curated" models
May 22, 2021
01ccb60
Fixing some issues with exporting.
richardpark-msft May 24, 2021
d06fbb6
Add in options for the client and also figuring out the proper scope …
richardpark-msft May 24, 2021
7e121df
Allow for externally passed pipeline options.
richardpark-msft May 24, 2021
31edf56
Missed this edit.
richardpark-msft May 24, 2021
6808857
Updating names for querying metrics to match track 2 standards (casin…
richardpark-msft May 24, 2021
9a7adac
Same treatment for listing metric definitions options. Fixing casing.
richardpark-msft May 24, 2021
9d66cbd
Sorting index.ts
richardpark-msft May 24, 2021
6947616
Fixing case for `orderBy`
richardpark-msft May 24, 2021
e3324e9
Fix the metrics definition query to return it's own result type.
richardpark-msft May 24, 2021
840e937
- Remove some of the generated types, primarily around request/respon…
richardpark-msft May 24, 2021
0854e18
Fixing another naming inconsistency in the generated models (metadata…
richardpark-msft May 24, 2021
7997519
renaming to match what's in azure-rest-api-specs
richardpark-msft May 25, 2021
81126c9
Update my swagger readme.md to point to Srikanta's changes for the sw…
richardpark-msft May 25, 2021
b72ba7b
Fixes to accomodate the regenerated swagger.
richardpark-msft May 25, 2021
3bf9f03
removing this sample for now. Other languages aren't interested in ex…
richardpark-msft May 26, 2021
6a2dbe4
Removing public demo server related code. (none of the other language…
richardpark-msft May 26, 2021
4eb9a3c
Removing demo_key
richardpark-msft May 26, 2021
edfd334
Update package.json to match the node.js version I have in the readme.md
richardpark-msft May 27, 2021
be88204
Updating readme snippet to look more like how our samples do - decons…
richardpark-msft May 27, 2021
6df2d07
Add in 'as const' for even more readonly protection.
richardpark-msft May 27, 2021
13e3c06
Fixing a few things:
richardpark-msft May 27, 2021
270218c
revert >= 10 for now
richardpark-msft May 27, 2021
c89dc9e
Removing unneeded '?' and regenerated the .api.md file.
richardpark-msft May 27, 2021
bc55ff9
A little typescript snuck into the JS sample.
richardpark-msft May 28, 2021
e347d97
Regenerate clients with add-credentials: false to get rid of the need…
richardpark-msft May 28, 2021
a55ee98
- Consolidate on 'endpoint' for client options rather than having '$h…
richardpark-msft May 28, 2021
46e5de3
Remove comment
richardpark-msft May 28, 2021
1118be7
- Use destructuring to exclude fields we don't want to include in the…
richardpark-msft May 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@

# PRLabel: %Monitor
/sdk/monitor/ @hectorhdzg @applicationinsights-js-owners @richardpark-msft
/sdk/monitor/monitor-query @richardpark-msft @maorleger

###########
# Tools
Expand Down
140 changes: 140 additions & 0 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,11 @@
"projectFolder": "sdk/monitor/monitor-opentelemetry-exporter",
"versionPolicyName": "client"
},
{
"packageName": "@azure/monitor-query",
"projectFolder": "sdk/monitor/monitor-query",
"versionPolicyName": "client"
},
{
"packageName": "@azure/dev-tool",
"projectFolder": "common/tools/dev-tool",
Expand Down
2 changes: 2 additions & 0 deletions sdk/monitor/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ extends:
Artifacts:
- name: azure-monitor-opentelemetry-exporter
safeName: azuremonitoropentelemetryexporter
- name: azure-monitor-query
safeName: azuremonitorquery
19 changes: 19 additions & 0 deletions sdk/monitor/monitor-query/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"include": [
"dist-esm/src/**/*.js"
],
"exclude": [
"**/*.d.ts",
"dist-esm/src/generated/*"
],
"reporter": [
"text-summary",
"html",
"cobertura"
],
"exclude-after-remap": false,
"sourceMap": true,
"produce-source-map": true,
"instrument": true,
"all": true
}
6 changes: 6 additions & 0 deletions sdk/monitor/monitor-query/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Release History

## 1.0.0-beta.1 (Unreleased)

- Initial release of the monitor-query library, allowing you to query Log Analytics Workspaces
for logs and metrics.
21 changes: 21 additions & 0 deletions sdk/monitor/monitor-query/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2020 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading