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

Remove applicationinsights #673

Merged
merged 1 commit into from May 10, 2023
Merged

Remove applicationinsights #673

merged 1 commit into from May 10, 2023

Conversation

sandersn
Copy link
Member

Based on an analysis of azure usage with @RyanCavanaugh.

This hasn't worked for a long time, because there's a bug in the publish notification code that runs before the call to application insights. I'm not sure whether to delete that or to fix it. Publication has been reliable (and predictable!--since the Functions changeover) for a long time so neither the notification nor the stats are as necessary as they once were.

Based on an analysis of azure usage with @RyanCavanaugh.

This hasn't worked for a long time, because there's a bug in the publish
notification code that runs before the logging. I'm not sure whether to
delete that or to fix it. Publication has been reliable (and
predictable!--since the Functions changeover) for a long time
so neither the stats nor the notification are as necessary as they once
were.
@sandersn
Copy link
Member Author

Note to self: after I merge and ship this, I need to remove APPINSIGHTS_INSTRUMENTATIONKEY from Azure as well. (it silently fails to log without it, and we're already not logging successfully, so actually I guess it's OK to delete it whenever)

@sandersn sandersn merged commit 46828d6 into master May 10, 2023
7 checks passed
@sandersn sandersn deleted the remove-applicationinsights branch May 10, 2023 23:00
@andrewbranch
Copy link
Member

This is how we see logs when the publisher crashes. This was definitely working and useful fairly recently.

@jakebailey
Copy link
Member

Oh :(

@andrewbranch
Copy link
Member

To clarify, I don’t think we were using the events, but I believe the setup/start calls are necessary in order to see stdout/stderr in the Azure portal.

@sandersn
Copy link
Member Author

All right, I'll revert it tomorrow and then remove only the event logging.

sandersn added a commit to sandersn/DefinitelyTyped-tools that referenced this pull request May 11, 2023
sandersn added a commit that referenced this pull request May 11, 2023
* Revert "Remove applicationinsights (#673)"

This reverts commit 46828d6.

* re-remove just the latency logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants