Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

New custom metrics and air gapped installation in Red Hat 3scale API Management 2.9

 

October 29, 2020
Satya Jayanti
Related topics:
APIsKubernetesOperatorsSecurity
Related products:
Red Hat 3scale API Management

Share:

    We continue to update the Red Hat Integration product portfolio to provide a better operational and development experience for modern cloud- and container-native applications. The Red Hat Integration 2020-Q3 release includes Red Hat 3scale API Management 2.9, which provides new features and capabilities for 3scale. Among other features, we have updated the 3scale API Management and Gateway Operators.

    This article introduces the Red Hat 3scale API Management 2.9 release highlights, including air-gapped installation for 3scale on Red Hat OpenShift and new APIcast policies for custom metrics and upstream mutual Transport Layer Security (TLS).

    Note: See the end of the article for registration information for the Red Hat-sponsored APIDays LIVE London: The Road to Embedded Finance, Banking, and Insurance with APIs. Registration is free and includes two recorded Red Hat sessions.

    Air gapped installation on OpenShift

    The 3scale Operator now fully supports air gapped installation for 3scale API Management on OpenShift. Air gapped or restricted networks are isolated from the Internet and physically isolated from any other network. Secure environments such as government agencies and financial institutions typically require an air gapped installation for Red Hat Integration on OpenShift. This type of installation differs from a regular installation in three ways:

    • OpenShift software channels and repositories are not available from Red Hat’s content distribution network.
    • You cannot pull OpenShift images directly from Red Hat’s container registry.
    • You cannot connect to the Maven mirrors hosted by Red Hat.

    To allow for installation on restricted networks, a 3scale Operator must list all container images that the Operator requires in the relatedImages parameter of its ClusterServiceVersion (CSV) object. The Operator uses a digest (Secure Hash Algorithm) and not a tag to reference the specified images.

    APIcast Gateway's new Custom Metrics policy

    APIcast Gateway's new Custom Metrics policy lets you add metrics beyond hits. You can use this policy to add metrics on upstream response code or headers after a response is received from the back-end API.

    Use cases include tracking HTTP 2xx responses or HTTP 4xx or 5xx responses from the back end. You would use the HTTP 2xx custom metric for application plan rate limits or pricing rules where you only wanted to track successful response codes. You would use a 4xx or 5xx custom metric to report multiple error codes from an upstream API in the Analytics section of your 3scale admin portal. Another common use case is a custom metric based on the content-length header response sent from the back-end API. You could use this metric for application plans to track the payload size rather than hits based on rate limits or billing.

    Custom metrics are based on the back-end API's response, so consider these factors when implementing the new policy:

    • Before you can use a custom metric, you must create the metric definition using the Admin Portal or Admin API.
    • When authentication happens before a request is sent to the upstream API, you must make a second call to the back-end API Manager to report the new metrics.
    • The Custom Metrics policy does not work with the 3scale Batcher policy.

    Watch the video

    See a quick, live demonstration of creating custom metrics with the new APIcast Custom Metrics policy.

    More new features in 3scale Management API 2.9

    Additional new features in the 3scale Management API 2.9 release include the new Upstream Mutual TLS policy, a new configuration for billing currencies, and analytics data for API back ends. See the release documentation for other minor feature updates.

    The 3scale Management API 2.9 release also features the new 3scale Operator, which brings new functionality for backup-and-restore, custom resources, and metering and monitoring resources with Prometheus and Grafana. The 3scale Management API 2.9 release supports the OpenAPI 3.0 specification on ActiveDocs.

    APIDays London: Watch now

    APIDays is the leading industry technology and business series of conferences for APIs and the programmable economy. On October 27 and 28, 2020, Red Hat sponsored APIDays LIVE London: The Road to Embedded Finance, Banking, and Insurance with APIs.​ This virtual event hosts technical and business leaders from retail and investment banking, insurance, and finance, explaining how they are using APIs to create new business value.

    Registration is free to view the recorded sessions from APIDays LIVE London, including the two Red Hat sessions this year:

    • Tuesday, October 27, 2020, at 12:30 PM GMT: Why your digital identity is critical in the post-COVID world, by EMEA Senior Consultant Luca Ferrari.
    • Wednesday, October 28, 2020, at 10:50 AM GMT: A cloud-native approach for open banking in action, by FSI Marketing Manager Rafael Marins.

    Both sessions are recorded and can be viewed by registering on the APIDays London event page.

    Last updated: March 30, 2023

    Recent Posts

    • How to implement and monitor circuit breakers in OpenShift Service Mesh 3

    • Analysis of OpenShift node-system-admin-client lifespan

    • What's New in OpenShift GitOps 1.18

    • Beyond a single cluster with OpenShift Service Mesh 3

    • Kubernetes MCP server: AI-powered cluster management

    What’s up next?

     

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue