Giter Site home page Giter Site logo

Comments (2)

anthonny avatar anthonny commented on September 9, 2024 3

Hi @DeanKamali
It works for me with the monti agent:
meteor add montiapm:agent

I run meteor-apm-server locally like this:
meteor --port 4000 --settings settings.json

With this settings.json:

❯ cat settings.json                                                                                                                
{
  "metricsLifetime": 604800000,
  "public": {
    "apmEngineUrl": "http://localhost:4000"
  }
}

And in my meteor application, I define these env vars:

MONTI_APP_ID=yHbBh4nkv5HcZYcQ7
MONTI_APP_SECRET=rc7aFLC8MQ4Xgi9ir
MONTI_OPTIONS_ENDPOINT=http://localhost:11011

from meteor-apm-server.

DeanKamali avatar DeanKamali commented on September 9, 2024

Works great! thank you

Here is my docker-compose file for reference

cat > docker-compose.yaml << EOL
    version: '3.3'
    services:
        meteor-apm-server:
            container_name: meteor-apm-server
            ports:
                - '4000:80'
                - '7007:7007'
                - '11011:11011'
            environment:
                - PORT=80
                - 'MONGO_URL=mongodb://mongo'
                - 'MONGO_OPLOG_URL=mongodb://mongo'
                - 'ROOT_URL=http://localhost'
            image: 'strictlyskyler/meteor-apm-server:1.1.0'
            links:
                - mongo
        mongo:
            image: mongo
            restart: always
            volumes:
                - ./data:/data/db
EOL

mkdir data
docker-compose up -d

from meteor-apm-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.