-
Notifications
You must be signed in to change notification settings - Fork 15
EMF Exporter - Initial implementation with Gauge Support #197
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
Conversation
| sumData?: number; | ||
| value?: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I consolidated this into one if they're both just a number value
| diag.info(`Created log group: ${this.logGroupName}`); | ||
| } catch (e: unknown) { | ||
| if (e instanceof Error && e.name === 'ResourceAlreadyExistsException') { | ||
| diag.info(`Log group ${this.logGroupName} already exists.`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to debug level?
| this.logStreamExists = true; | ||
| } catch (e: unknown) { | ||
| if (e instanceof Error && e.name === 'ResourceAlreadyExistsException') { | ||
| diag.info(`Log stream ${this.logStreamName} already exists.`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same
| this.logStreamExistsPromise = this.ensureLogGroupExists().then(async () => { | ||
| await this.ensureLogStreamExists(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make log group/stream into lazy creation based on PLE call
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be in next PR
|
Closing in favor of: #206 |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.