-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Send endpoint and host as part of network statsbeat * Add unit test for getHost * Update statsbeat smoke test * Remove a fixme * Send network statbeat per url * Reuse createMetricTelemetry in tests * Send correct host when redirect happens * Fix a warning * Add unit test * Refactor * Update unit tests * Fix spotless * Add two Statsbeat configs * Fix spotless * Rename Statsbeat intervals * Send attach and azure metadata service on start * Fix spotless * Send instrumentation as a FeatureStatsbeat * Update tests * Fix spotless * Fix statsbeat smoke test * Track non-essential Statsbeat disablement * Fix smoke test failures * Fix smoke test failures * Don't send statsbeat on redirect in tests * Fix a typo * Address feedback * Remove unused method * Use uppercase enums * Init telemetry client when disabled is on * Inject StatsbeatModule to RedirectPolicy * Use initial delay * Remove null check and use Mockito.doNothing() * Move disabled to preview * Change initiaDelay to 5 seconds and revert appServers * Address feedback * Track network counter per ikey * Update tests * Handle redirect * Fix spotlessApply * Fix nullpointexception at runtime * Fix spotlessApply * Null check outside sychronize * Rename * Refactor * Fix a warning methodcanbestatic * fix test failure * Fix spotlessApply * suggestions in progress * Retrieve endpoint from redirect policy cache * Fix tests * Comment out code * Remove unused methods * Fix runtime nullpointerexception * Skip statsbeat ikey in the ikey cache map * Handle redirect * Remove null check * Remove the ikey once it's sent on redirect * Fix style violations * Remove arg duplication * More injection, less global * Comment * Remove unneeded conditions * Remove redirct for now * Remove StatsbeatModule.get() * Remove used method * Remove setinstance * Refactor * Add a todo * Replace regex * Refactor Co-authored-by: Trask Stalnaker <[email protected]>
- Loading branch information
Showing
22 changed files
with
612 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...src/main/java/com/microsoft/applicationinsights/agent/internal/statsbeat/FeatureType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* ApplicationInsights-Java | ||
* Copyright (c) Microsoft Corporation | ||
* All rights reserved. | ||
* | ||
* MIT License | ||
* 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. | ||
*/ | ||
|
||
package com.microsoft.applicationinsights.agent.internal.statsbeat; | ||
|
||
enum FeatureType { | ||
FEATURE, | ||
INSTRUMENTATION | ||
} |
Oops, something went wrong.