dynatrace

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-19 14:51:34 +02:00
parent 96081d960a
commit 37fe3f71b7
4 changed files with 3 additions and 4 deletions
-2
View File
@@ -14,8 +14,6 @@ export const dynatracePlugin: BackstagePlugin<{}, {}, {}>;
// @public
export const DynatraceTab: () => JSX.Element;
// Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
//
// @public
export const isDynatraceAvailable: (entity: Entity) => boolean;
+1
View File
@@ -13,4 +13,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { dynatracePlugin, DynatraceTab, isDynatraceAvailable } from './plugin';
+2 -1
View File
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { dynatraceApiRef, DynatraceClient } from './api';
import {
createApiFactory,
@@ -55,7 +56,7 @@ export const dynatracePlugin = createPlugin({
/**
* Checks if the entity has a dynatrace id annotation.
* @public
* @param entity {Entity} - The entity to check for the dynatrace id annotation.
* @param entity - The entity to check for the dynatrace id annotation.
*/
export const isDynatraceAvailable = (entity: Entity) =>
Boolean(entity.metadata.annotations?.[DYNATRACE_ID_ANNOTATION]) ||
-1
View File
@@ -203,7 +203,6 @@ const ALLOW_WARNINGS = [
'plugins/catalog-import',
'plugins/circleci',
'plugins/cost-insights',
'plugins/dynatrace',
'plugins/git-release-manager',
'plugins/github-actions',
'plugins/github-deployments',