This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| countryCode | countryName | region | |
|---|---|---|---|
| US | United States | North America | |
| GB | United Kingdom | Europe | |
| FR | France | Europe | |
| DE | Germany | Europe | |
| CN | China | Asia | |
| JP | Japan | Asia |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const opentelemetry = require('@opentelemetry/sdk-node'); | |
| const { getNodeAutoInstrumentations } = require('@opentelemetry/auto-instrumentations-node'); | |
| const { OTLPTraceExporter } = require('@opentelemetry/exporter-trace-otlp-proto'); | |
| const { BatchSpanProcessor } = require('@opentelemetry/sdk-trace-base'); | |
| const { Resource } = require('@opentelemetry/resources'); | |
| const { SemanticResourceAttributes } = require('@opentelemetry/semantic-conventions'); | |
| // Initialize OTLP trace exporter | |
| const traceExporter = new OTLPTraceExporter({ | |
| url: 'https://api.axiom.co/v1/traces', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto3 | |
| import requests | |
| import os | |
| import json | |
| from urllib.parse import unquote_plus | |
| s3_client = boto3.client('s3') | |
| def lambda_handler(event, context): | |
| # Retrieve bucket name and file_key from the S3 event |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| basePath: /api/v1 | |
| consumes: | |
| - application/json | |
| definitions: | |
| APLRequestWithOptions: | |
| properties: | |
| apl: | |
| type: string | |
| datasetMap: | |
| additionalProperties: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: ReplicationController | |
| metadata: | |
| name: expressapp-controller | |
| spec: | |
| replicas: 2 | |
| selector: | |
| app: express-app | |
| template: | |
| metadata: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: hello-world.example.com | |
| labels: | |
| app: hello-world | |
| spec: | |
| containers: | |
| - name: docker-demo | |
| image: tolatemitope/docker-demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: hello-world.example.com | |
| labels: | |
| app: hello-world | |
| spec: | |
| containers: | |
| - name: docker-demo | |
| image: tolatemitope/docker-demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Secret | |
| metadata: | |
| name: db-secret | |
| type: Opaque | |
| data: | |
| password: cm9xcA== | |
| username: cGFxs7dvcmQ= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: helloworld-service | |
| spec: | |
| containers: | |
| - name: docker-demo | |
| image: tolatemitope/docker-demo | |
| ports: | |
| - containerPort: 5000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: helloworld-service | |
| spec: | |
| ports: | |
| - port: 31001 | |
| nodePort: 31001 | |
| targetPort: python-port | |
| protocol: TCP |
NewerOlder