Azure / Azure/azure-functions-host

Need configuration way to inject implementation of IScaleMetricsRepository

Open
#10,217 0 comments 0 reactions 0 assignees View on GitHub
Needs: Triage (Functions)
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

#### What problem would the feature you're requesting solve? Please describe.
We logicApps is an extention of FunctionApp.
IScaleMetricsRepository is an interface in Webjobs SDK.
FunctionApp injects an implementation of IScaleMetricsRepository, which is TableStorageScaleMetricsRepository.
We wanted to inject and replace the implementation of IScaleMetricsRepository with SqlStorageScaleMrtricsRepository in logic apps.

Currently it is not possible to do this.

#### Describe the solution you'd like
We need some configuration class through which we can add LogicApps version of IScaleMetricsRepository.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing how FunctionApp injects TableStorageScaleMetricsRepository and how IScaleMetricsRepository is defined in the Webjobs SDK; compare the Logic Apps need for SqlStorageScaleMetricsRepository. Done means the host exposes a documented configuration path that allows this implementation to be replaced.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, sql
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.