Skip to content

Commit

Permalink
adding custom extraction for metrics in apig
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirhasko authored Dec 12, 2024
1 parent c554fa0 commit 533e2e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion otcextensions/sdk/apig/v2/_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

from openstack import proxy

from otcextensions.common.utils import extract_url_parts


class Proxy(proxy.Proxy):

skip_discovery = True

def _extract_name(self, url, service_type=None, project_id=None):
return extract_url_parts(url, project_id)

0 comments on commit 533e2e8

Please sign in to comment.