Skip to main content

Service Configuration Guide

The Service Configuration screen is your command center for customizing how BitDive monitors each of your applications and services. Here, you can adjust settings on the fly, create different monitoring profiles for various environments (like "test" or "production"), and control exactly what data is collected.

1. Finding Your Service​

On the left, you'll see a list of all your Projects & Services. Simply click on a project to see its services, then select the service you want to configure.

BitDive Service Selection

To add a new service to a project, hover over the project name and click the '+' icon.

BitDive Add New Service Project

2. Adjusting Monitoring Settings​

Once you've selected a service, you can change its monitoring behavior in the main panel.

Here's the main configuration interface where you can adjust all monitoring settings:

Monitoring Config Tab​

This is where you'll find the most common settings:

BitDive Monitoring Config Settings

  • Enable Monitoring: The main on/off switch for BitDive's monitoring on this service
  • Log Level: Adjust how much detail you get in your logs (e.g., DEBUG, INFO)
  • Monitor Method Arguments/Return Values: Toggle these to capture the data going into and out of your methods
  • Excluded Packages: Add any packages (like third-party libraries) that you don't want BitDive to monitor

Click Save Monitoring Settings when you're done.

Send Files Config & Advanced Settings​

  • Send Files Config: Configure settings related to network and data transmission, like proxy servers

BitDive Send Files Config

  • Advanced Settings: Access deeper configurations for storage, data cleanup, and specific framework monitoring (like only monitoring Spring components)

BitDive Advanced Settings

Important: A yellow banner will appear if a setting requires an application restart to take effect.

3. Using Different Profiles (Environments)​

You can create multiple monitoring profiles for a single service. This is perfect for having different settings for your "Default" (development), "Test," and "Production" environments.

BitDive Profile Dropdown

  1. Click the '+' button next to the "Default" profile dropdown
  2. Give your new profile a name (e.g., "test")
  3. Now you can select this new profile from the dropdown and give it its own unique monitoring settings!

If you need to reset settings back to defaults, you can use the reset function:

BitDive Reset Settings Default

This allows you to, for example, turn on detailed DEBUG logging for your "test" environment while keeping your "production" environment cleaner with INFO-level logging.

Configuration Parameters Reference​

Understanding what each setting does helps you fine-tune BitDive's monitoring behavior:

Monitoring Configuration Settings​

Essential Settings​

SettingDescriptionWhen to Use
Enable MonitoringMaster switch for BitDive monitoringTurn off when troubleshooting or reducing overhead
Log LevelAmount of detail in monitoring logsDEBUG: Development/testing, INFO: Production, ERRORS: Minimal logging
Monitor Method ArgumentsCaptures input parameters to methodsEnable for debugging data flow issues
Monitor Return ValuesCaptures what methods returnEnable when tracking output problems
Monitor Static MethodsIncludes static method calls in tracesUsually disable for cleaner traces
Spring Components OnlyLimits monitoring to Spring-managed beansEnable to focus on business logic, not framework code

Application Identity​

SettingDescriptionBest Practice
Module NameIdentifies your application moduleUse descriptive names like "user-service" or "payment-api"
Service NameIdentifies specific service within moduleUse specific names like "authentication" or "order-processing"
Package ScannerWhich Java packages to monitorInclude your main business packages, exclude third-party libraries

Network & Storage Settings​

SettingDescriptionWhy It Matters
Server URLWhere to send monitoring dataMust match your BitDive server address
Send IntervalHow often to upload data (seconds)Lower = more real-time, Higher = less network traffic
File Storage TimeHow long to keep local monitoring filesLonger = more disk space used, Shorter = risk of data loss
Proxy ConfigurationNetwork proxy settingsRequired if your network uses proxies

Performance Tuning​

SettingDescriptionImpact
Excluded PackagesSkip monitoring certain packagesAdd com.sun., org.springframework. to reduce noise
Max Collection ElementsLimit array/list capture sizeHigher = more detail, Lower = better performance
File Conversion IntervalHow often to process monitoring dataLower = more responsive, Higher = less CPU usage

Environment Profiles​

Profile TypeRecommended SettingsUse Case
DevelopmentDEBUG logging, Monitor arguments/returnsFull visibility for debugging
TestINFO logging, Monitor returns onlyBalanced monitoring for testing
ProductionINFO/ERRORS logging, Minimal monitoringPerformance-focused monitoring

Understanding Log Levels​

LevelWhat You SeeWhen to Use
ERRORSOnly error messages and failuresProduction systems where you only want alerts
INFOGeneral operations and normal flowStandard production monitoring
DEBUGDetailed execution informationDevelopment, testing, or troubleshooting issues

💡 Tip: Start with INFO in production, switch to DEBUG only when investigating specific problems.


For getting started quickly, refer to our Quick Start Guide.