Improved metrics for updating application (#5607)

This commit is contained in:
Janne Savolainen authored and GitHub committed 2022-06-16 09:05:00 -04:00
1 parent 7b0521f3b2
commit 5c049ecca0
15 files changed
+373 -32

No files matched your search

@@ -0,0 +1,13 @@
/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import appEventBusInjectable from "./app-event-bus.injectable";
const emitEventInjectable = getInjectable({
id: "emit-event",
instantiate: (di) => di.inject(appEventBusInjectable).emit,
});
export default emitEventInjectable;
@@ -0,0 +1,7 @@
/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import moment from "moment";
export const getCurrentDateTime = () => moment().utc().format();