Skip to content

Add ability to turn off SQL query logging for Azure Functions #1425

@piotrzbyszynski

Description

@piotrzbyszynski

As stated in microsoft/ApplicationInsights-aspnetcore#968, it is impossible to turn off SQL query logging for Azure Functions (consumption plan). SQL Query logging adds significantly to AI costs, there should be a possibility to turn it off the same way as in application service

Repro Steps

  1. Go to Azure Function -> Platform features -> All settings -> Application Insights and turn SQL Commands off

Actual Behavior

SQL Queries are still logged

Expected Behavior

SQL Query should not be logged

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions